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

fix: look over schemas should not walk over the first element schemas[0] #428

Closed jirikrepl closed 3 years ago

jirikrepl commented 3 years ago

the first element does not have a selector property which caused an error

it's a change from this PR https://github.com/Meteor-Community-Packages/meteor-collection2/pull/426

I rollback the changes

harryadel commented 3 years ago

@jirikrepl, thank you for taking the time to fix this. <3