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

Support updating nested fields with dot notation #148

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

zhezhang77
Copy link

@zhezhang77 zhezhang77 commented Nov 15, 2022

Fix #146 Unable to update nested fields with custome mask in updateDocument()

  1. Add a flag 'nestedField' in updateDocument() to control if treating fields with dot notation as nested fields or single fields. If it is not set or set to false, the library will keep the original behaviour.
  2. Fields in the updater will be merged based on their inserted order
  3. Add 3 new tests to for the new flag

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.

Unable to update nested fields with custome mask in updateDocument()
1 participant