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 support for decoding nested objects #40

Open
DavidDTA opened this issue Jan 30, 2022 · 1 comment
Open

Add support for decoding nested objects #40

DavidDTA opened this issue Jan 30, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@DavidDTA
Copy link

In Firestore.Decode and Firestore.Codec, you are able to specify a decoder for a document which can decode each of its fields with the relevant decoder. However, there is no way to do this for nested objects (e.g. objects in arrays).

This would require creating a Field similar to the way that we can create a Document.

@DavidDTA
Copy link
Author

The only way I can think of to work around this for now is to convert an array of objects into one array for each property.

@IzumiSy IzumiSy added the enhancement New feature or request label May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants