https://github.com/authzed/spicedb/issues/1210
# spicedb
t
Yeah, I saw this! This will certainly help! I have two questions about this proposal though: 1- Will ids be able to start with these special characters? 2- How long until release? 😆
2- it's early days
t
2- Do you mean it's too early to tell? (english is my second language, sorry)
j
yeah, it's too early to tell what other things we will find as this goes through implementation
t
Got it! Any recomendation on how to workaround it?
j
you could do base64 URL encoding and add a single letter prefix, that's not great
t
Hm, it would work I think. I'm also trying to figure out what combination of characters would generate a "+" at the begining of a base64 encoded string.
Maybe it would never happen for us
j
yeah, i've honestly never seen it
but that doesn't mean it couldn't happen
i've tried encoding emojis and other unicode things
t
It seems to be only some combination of very weird characters hahaha I guess encoding with base64 (url safe) works
Thank you very much!
j
you're welcome!
btw, what backing datastore are you using?
t
Postgres
j
thanks!
make sure you check out 1.19 when it lands, it has some pretty big perf wins for postgres
t
Hi @Jake , I saw that you already merged this id validation change. Any guesses on when will it land? 😁 Can't wait to try it out
Oh, just realized that it was released on v1.20. My bad
5 Views