longshotlabs / simpl-schema

A JavaScript schema validation package that supports direct validation of MongoDB update modifier objects
https://www.npmjs.com/package/simpl-schema
MIT License
560 stars 114 forks source link

setOnInsert is not allowed in a restricted collection #119

Open KoenLav opened 7 years ago

KoenLav commented 7 years ago

When using defaultValue on a collection to which we insert from the client.

https://github.com/reactioncommerce/meteor-security/issues/48

hexsprite commented 7 years ago

dup of https://github.com/aldeed/node-simple-schema/issues/146