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

Automatically initialize Collection/Map typed fields #38

Closed
greenlaw110 opened this issue Mar 2, 2020 · 0 comments
Closed

Automatically initialize Collection/Map typed fields #38

greenlaw110 opened this issue Mar 2, 2020 · 0 comments
Assignees

Comments

@greenlaw110
Copy link
Contributor

At the moment if an entity class contains collection/map typed field, and there is missing data for the field in a document, the loaded entity instance leave the field as null.

This CR is to let framework initialize the field to empty collection/map so the following operations do not need to do null value check on the fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant