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

Integers that don't fit into u32 get silently mapped to null #8

Closed
dbdr opened this issue Sep 5, 2019 · 1 comment
Closed

Integers that don't fit into u32 get silently mapped to null #8

dbdr opened this issue Sep 5, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@dbdr
Copy link
Contributor

dbdr commented Sep 5, 2019

I think the issue is here:

if let Ok(four) = integer_value.parse::<u32>() {

@dbdr dbdr added the bug Something isn't working label Sep 5, 2019
@davidgraeff
Copy link
Owner

The u32 type is indeed wrong. The documentation[1] defines i64 as integer type.

[1] https://firebase.google.com/docs/firestore/reference/rest/v1/Value

mkawalec pushed a commit to mkawalec/firestore-db-and-auth-rs that referenced this issue Jan 17, 2022
Signed-off-by: David Graeff <david.graeff@web.de>
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