Automattic / Automattic/mongoose

Decouple Schema Validation

Open
#4,282 5 comments 3 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
27.5k
Forks
4k
Avg merge
2d 5h
Merged PRs (30d)
32

Description

For utility purposes, it'd be quite nice if the Mongoose Schema Validator was a standalone module, and able to validate standalone JSON documents (for example, on the clientside).

Contributor guide

Open the contributing guide

Research direction

Start by locating the Mongoose Schema Validator entry point. Check how it currently handles schema and document data, then define and verify a standalone JSON-document validation path that can run client-side; done means the validator is usable independently of Mongoose.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.