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

Handle ArrayValues without a values field #6

Merged
merged 1 commit into from
Sep 4, 2019

Conversation

dbdr
Copy link
Contributor

@dbdr dbdr commented Sep 4, 2019

When doing a documents::list, I got a deserialization failure, not on my own structures but on the dto::ListDocumentsResponse. Turns out that in ArrayValue the values field is optional. This one was confusing/fun to debug 😄

Copy link
Owner

@davidgraeff davidgraeff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch.
I'll add more tests for failure cases

@davidgraeff
Copy link
Owner

Could you sign your commits (use "-s" on the command line)? It's not exactly necessary for small changes, but it's a good habit. It basically means that you accept that your contributions are made available under the license of this repo.

Signed-off-by: Daniel Bonniot <dbonniot@chemaxon.com>
@dbdr
Copy link
Contributor Author

dbdr commented Sep 4, 2019

Signing done :)

@davidgraeff davidgraeff merged commit 932d46a into davidgraeff:master Sep 4, 2019
@dbdr dbdr deleted the optional-values-in-array branch September 5, 2019 08:22
hildaaaaa pushed a commit to hildachung0602/firestore-db-and-auth-rs that referenced this pull request Nov 18, 2020
update query function orderby parameter using array
mkawalec pushed a commit to mkawalec/firestore-db-and-auth-rs that referenced this pull request Jan 17, 2022
Signed-off-by: Daniel Bonniot <dbonniot@chemaxon.com>
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.

None yet

2 participants