-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Gh 10423 adds a transform option to lean queries #11814
Conversation
> Dependency Review GitHub Action in your repository to enforce dependency > reviews on your pull requests. > The action scans for vulnerable versions of dependencies introduced by package version > changes in pull requests, > and warns you about the associated security vulnerabilities. > This gives you better visibility of what's changing in a pull request, > and helps prevent vulnerabilities being added to your repository. https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>
When dealing with external schemas, i.e. a mongoose schema created inside another module, instanceOf may not work. This results in the value of ObjectIds in the schema being converted to strings when saving to the database.
fix(document): fix ObjectId conversion for external schemas
perf: improve isBsonType
chore(deps): Included dependency review
Fix codeql sec warnings
fix documention of error handling
improved issue templates
fix: typings of schemaTypeOptions should be a class
…populated in another doc with different unpopulatedValue Fix #11442
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job getting this working. I'm a little bummed that Mongoose doesn't handle calling completeOneLean()
recursively already. But given that we need to do that, you should iterate through the schema's childSchemas
to get subdocuments, rather than iterating through the entire object and assuming that any sub-objects you find are subdocuments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work 👍
No description provided.