GodotNuts / GodotFirebase

Implementations of Firebase for Godot using GDScript
MIT License
517 stars 74 forks source link

[BUG] Cannot store integers as keys for dictionary, only Strings. #357

Closed shafnaz closed 1 month ago

shafnaz commented 10 months ago

Describe the bug I would like to store my enumerator types as keys in the dictionary and do an add_document. image image

WolfgangSenff commented 10 months ago

I will likely fix this today. I'm not sure if it'll work within Firebase itself, but good find!

shafnaz commented 10 months ago

Thank you

shafnaz commented 9 months ago

Pretty busy, any progress so far?

WolfgangSenff commented 9 months ago

I have not had a chance to yet, sorry! Life's taken over for a bit.

WolfgangSenff commented 2 months ago

Believe it or not, I have a potential fix for this ready - just working on part of my big refactor for Firestore and figured out how I wanted to do it. I know it's quite a while later, so sorry about that! But this will be merged soon, and when I do, I'll close this and mention the PR in which it's fixed.

WolfgangSenff commented 1 month ago

This has been resolved with my most recent massive refactoring of Firestore. See https://github.com/GodotNuts/GodotFirebase/wiki/Upgrade-Guide-to-4.x-version-2 for more.