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

NaN Double values are not handled, which results in an error parsing Firestore Documents #7

Closed
markbreuss opened this issue Jun 28, 2024 · 1 comment

Comments

@markbreuss
Copy link

markbreuss commented Jun 28, 2024

To put it simply, this document:
image

produces the following error in the conversion:
image

I can reproduce and more than willing to hop on a call to test it.
Im not versed in code generation so I'd appreceate someone stepping in with a PR.

Original Issue in Firebase Admin SDK:
invertase/dart_firebase_admin#29

See also Firestore official docs mentioning NaN values:
https://firebase.google.com/docs/firestore/manage-data/data-types

@markbreuss markbreuss changed the title NaN Double value are not handled, which results in an error parsing Firestore Documents NaN Double values are not handled, which results in an error parsing Firestore Documents Jul 3, 2024
@rrousselGit
Copy link

I've moved the issue to the google repo. This is a fork of it

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

No branches or pull requests

2 participants