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

feat(query): add schemaLevelProjections option to query to disable schema-level select: false #14986

Merged
merged 3 commits into from
Oct 28, 2024

Conversation

vkarpov15
Copy link
Collaborator

Fix #11474

Summary

Schema-level select: false is very useful, but there are cases where you want to disable select: false for all fields, like building an admin panel. This option will be very useful for mongoose studio.

Examples

@hasezoey hasezoey added this to the 8.8 milestone Oct 28, 2024
lib/query.js Outdated Show resolved Hide resolved
@vkarpov15 vkarpov15 merged commit 429f855 into 8.8 Oct 28, 2024
61 checks passed
@hasezoey hasezoey deleted the vkarpov15/gh-11474 branch October 28, 2024 15:27
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.

2 participants