Skip to content

Commit 7dcb252

Browse files
committed
chore: add coverage & gotchas
1 parent 2884965 commit 7dcb252

File tree

7 files changed

+2775
-7260
lines changed

7 files changed

+2775
-7260
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,8 @@ Use the included [`openapi.yaml`](./openapi.yaml) [OAS3](https://swagger.io/docs
5858
to document your API in a reuseable manner.
5959
You can even make a documentation to make this easier to read with the open-source automated
6060
reference documentation tool provided by [redoc](https://github.com/Redocly/redoc).
61+
62+
### Gotchas
63+
64+
Some things I've found developing an api with mongoose:
65+
- Updating virtual properties that have alternate validations/encodings/encryptions _must_ be done with direct assignment, not through a `Model#findOneAndUpdate` invocation.

0 commit comments

Comments
 (0)