You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using meteor factory to create documents for testing and whenever I try to .create('something') whose collection has a schema attached to it, I get an error "ID is required" on insert from the Factory.
I see that SimpleSchema is getting called on insert so I called .create('something', {_id: Random.id()}) and still get the same error.
Is there a way to use this package with collections that have schemas attached to it?