Simple question - I am trying to migrate from SimpleSchema (the meteor package) to the NPM package (simpl-schema) + collection2-core
both by aldeed.
I keep getting this error on the server:
TypeError: Cannot read property ‘RegEx’ of undefined
thrown where I have a schema defined like this:
xyz:{
type: String,
regEx: SimpleSchema.RegEx.Id,
optional:true
},