Commit 3d673f5
authored
Update browser.md with Mongoose limitations
The current browser.md explains that the browser build is limited, but it
doesn’t clearly list what actually works. This update adds a short note to
make the behavior more understandable.
The note now clarifies that:
• Browser build supports only schema-based validation.
• Built-in validators and custom validators work with validate()/validateSync().
• Setters/getters work as expected.
• Models, queries, defaults, middleware, and all database operations are not
available in the browser build.
This makes the browser section clearer and reduces confusion for developers
using validation on the frontend.1 parent dfa12ca commit 3d673f5
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
37 | 43 | | |
0 commit comments