google / google/googleapis.dart
NaN Double values are not handled, which results in an error parsing Firestore Documents
- Dominant language
- Dart
- Stars
- 419
- Forks
- 136
- Avg merge
- 1h 21m
- Merged PRs (30d)
- 5
Description
Original: https://github.com/invertase/dart_firebase_apis/issues/7
To put it simply, this document:

produces the following error in the conversion:

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:
https://github.com/invertase/dart_firebase_admin/issues/29
See also Firestore official docs mentioning NaN values:
https://firebase.google.com/docs/firestore/manage-data/data-types
Contributor guide
Assessment
This issue has not been assessed yet.