Meteor-Community-Packages / meteor-collection2

A Meteor package that extends Mongo.Collection to provide support for specifying a schema and then validating against that schema when inserting and updating.
https://packosphere.com/aldeed/collection2
MIT License
1.02k stars 108 forks source link

how to remove Invalid keys ( [field] is not allowed by schema) #347

Closed sairamdevarashetty closed 6 years ago

sairamdevarashetty commented 8 years ago

I am using SimpleSchema to a collection .One of the doc has a value which is not mentioned in schema and when I am trying to update the issue I am getting error [field] is not allowed by schema

sairamdevarashetty commented 8 years ago

@aldeed please let me know your suggestion on this issue

aldeed commented 6 years ago

Closing old issues. Please comment if this is still an issue and should be reopened.