-
Notifications
You must be signed in to change notification settings - Fork 409
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
Add validating max nested document/array depth #2882
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2882 +/- ##
==========================================
- Coverage 76.40% 74.06% -2.35%
==========================================
Files 390 390
Lines 21312 21330 +18
==========================================
- Hits 16284 15797 -487
- Misses 4099 4559 +460
- Partials 929 974 +45
... and 39 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more. |
@kropidlowsky Please let me know if there's anything I can help with |
@kropidlowsky this pull request has merge conflicts. |
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.
I understand why the interface changed this way, but I suggest keeping it as is and introducing a new, more internal, interface. This way, we can hide implementation details.
Let me know if it's unclear, or you disagree or something :)
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.
I like the new approach: it's much simpler and we didn't modify the common interface.
Co-authored-by: Elena Grahovac <elena@grahovac.me>
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.
🚀
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.
LGTM
@rumyantseva please resolve your conversations |
@noisersup that PR requires your approval 😁 |
Description
Closes #1639.
Add validating max nested document/array depth to align it with MongoDB requirement.
Readiness checklist
task all
, and it passed.@FerretDB/core
), Labels, Project and project's Sprint fields.