- It adds defaults to models if the schema has them, but does not remove invalid fields from
.toJSON
when pulling them out of Mongo- But it does remove it for the model object
.inspect
reflects the.toJSON
version, so debugging is basically impossible
- Can't use object spread with a model to get a new version of it
- There's no way to have
.update
update the model in-place- I mean I don't want it to be the default, but having the option would be nice
Created
May 17, 2017 18:36
-
-
Save rivertam/82b883354c35ad74085fac0e5f9c273d to your computer and use it in GitHub Desktop.
Issues I have with Mongoose
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment