Replies: 2 comments
-
Can anyone with knowledge please answer? I am worried about upgrading mongoose due to the strict and strictQuery, specifically if applied to subdocuments. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@rwmia
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a question about strict and strictQuery, specifically how they apply to subdocuments in Mongoose 6.x
Lets say I have this schema below:
Example 1
Question: Will "random_property" get saved to the doc even though it is not in the schema?
Example 2
Question: Will "animal_features.random_property" get queried even though it is not in the schema?
Beta Was this translation helpful? Give feedback.
All reactions