Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
shafnaz opened this issue Sep 16, 2023 · 6 comments
Closed

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

shafnaz opened this issue Sep 16, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@shafnaz
Copy link

shafnaz commented Sep 16, 2023

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

@shafnaz shafnaz added the bug Something isn't working label Sep 16, 2023
@shafnaz shafnaz changed the title [BUG] Cannot store integers as key values, only Strings. [BUG] Cannot store integers as keys for dictionary, only Strings. Sep 16, 2023
@WolfgangSenff
Copy link
Collaborator

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

@shafnaz
Copy link
Author

shafnaz commented Sep 16, 2023

Thank you

@shafnaz
Copy link
Author

shafnaz commented Oct 1, 2023

Pretty busy, any progress so far?

@WolfgangSenff
Copy link
Collaborator

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

@WolfgangSenff
Copy link
Collaborator

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
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants