Skip to content

Commit

Permalink
Update default settings in docs (#256)
Browse files Browse the repository at this point in the history
The properties `runValidators` and `setDefaultsOnInsert` are set by defaults. I'd like to explain it more details (just for person with bad English skill like me) to understand correctly
  • Loading branch information
Dung Le Anh authored and daffl committed Aug 15, 2018
1 parent d7b66f9 commit 6644db3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ app.service('messages').hooks({
before: {
patch(context) {
// Set some additional Mongoose options
// The adapter tries to use sane defaults
// The adapter tries to use these settings by defaults
// but they can always be changed here
context.params.mongoose = {
runValidators: true,
Expand Down

0 comments on commit 6644db3

Please sign in to comment.