I'm so curious about how much data the
I'm so curious about how much data the UNDEFINED_PLACEHOLDER takes in all the apps combined 😂
10 Replies
Are you referring to the variable inside of the dashboard's source code? That value doesn't actually get stored in deployments, we use a string as a placeholder because
undefined
is not a valid Convex value 🙂That makes more sense 😂
So is just for transport only
I see
value === UNDEFINED_PLACEHOLDER ? undefined : value
Yup, even though
undefined
isn't valid in convex, we still use it to represent the optional / unset value in the database.Convex too cool
GitHub
convex-backend/npm-packages/system-udfs/convex/_system/frontend/pat...
The open-source reactive database for app developers - get-convex/convex-backend
I was wondering why it would be so long then again didn't see it on the rust size
it's a bit unfortunate for you if you want to store the value
"__CONVEX_PLACEHOLDER_undefined_I23atX0jcndVbFgXoQZffsih7eAqktCyFjgUuAeNBtfr3ySOljPSPSEOPFgprkdBO3zXNiGEJxmJ5ZFPc5C5qKesG80QRPvlJe8vgSxAt9feLTwxTg4PHfVwUaTEJU67FDwldWmTxp1guMPwxQ2jOuhEryTBf3mQ"
via the dashboard 😂Right, if they manage to come up with that value sucks for them I guess
Is this just keyboard spam
It's a secret message
I'm betting the developer that wrote that bit read from
/dev/random
or somethingI'll stick with the secret message option