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

Add arrayValue conversion to from_firebase_type #408

Merged

Conversation

auntiebirdie
Copy link
Contributor

While experimenting with retrieving data from Firebase, I encountered an issue where a value wasn't being converted to an Array. This PR adds a fields2array conversion for arrayValue types, assuming there isn't a reason it was excluded—happy to be educated if so!

Tested by making the change to the local copy of this plugin in my project and can confirm that it converts the { "arrayValue" : { ... } } to an array as expected.

@WolfgangSenff
Copy link
Collaborator

Oh, interesting! I must have just missed that. Thanks for the fix!

@WolfgangSenff WolfgangSenff merged commit 091aa11 into GodotNuts:4.x Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants