-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: set default for dotted path projection
When a schema included a subdocument that had a default value of empty object and that subdocument itself included some defaults, the subdocument was always null if a query was run with a dotted path projection to the subdocument's default values. Check not only that the curent path being evaluated to have defaults applied, but also check if the current path is part of the included children in the projection.
- Loading branch information
1 parent
cd76136
commit 24e4d80
Showing
2 changed files
with
63 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters