Discover more from Xanomorph
Don't use decimal keys when accessing Xano objects; use integers instead
Another thing I wish I knew beforehand.
Do not use a
decimal as the key for accessing a value in an a Xano object; convert the key to an
integer first. Trying to access a value with a
decimal key will return
E.g. do this:
I couldn’t find an explanation of this behavior in the documentation, so thought I would share it with you here.
This is probably something I should know if I were a trained developer, but I’m not. And you probably aren’t either, so here you go.
Thanks for reading Xanomorph! Subscribe for free to receive new posts and let me know my work is useful.