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

Add SchemaType-level validation to validation docs #12430

Closed
2 tasks done
vkarpov15 opened this issue Sep 14, 2022 · 0 comments · Fixed by #12466
Closed
2 tasks done

Add SchemaType-level validation to validation docs #12430

vkarpov15 opened this issue Sep 14, 2022 · 0 comments · Fixed by #12466
Labels
docs This issue is due to a mistake or omission in the mongoosejs.com documentation
Milestone

Comments

@vkarpov15
Copy link
Collaborator

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the issue has not already been raised

Issue

#12226 (reply in thread) points out that our validation docs don't currently show you can set validation logic on a per-schematype basis. For example, disallowing empty string. We should add a section on that.

@vkarpov15 vkarpov15 added the docs This issue is due to a mistake or omission in the mongoosejs.com documentation label Sep 14, 2022
@vkarpov15 vkarpov15 added this to the 6.5.7 milestone Sep 14, 2022
vkarpov15 added a commit that referenced this issue Sep 25, 2022
docs(validation): add section on global schematype validation, clean up other issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This issue is due to a mistake or omission in the mongoosejs.com documentation
Projects
None yet
1 participant