I’m using simple schema node package (https://github.com/aldeed/simple-schema-js) and collection2. Is this not working with mdg:validated-method (https://github.com/meteor/validated-method)?
It seems not to validate at all?
Thanks.
I’m using simple schema node package (https://github.com/aldeed/simple-schema-js) and collection2. Is this not working with mdg:validated-method (https://github.com/meteor/validated-method)?
It seems not to validate at all?
Thanks.
Can you provide an example of a validatedMethod that isn’t validating?
Have you followed the instructions on using simpl-schema
?
ie:
validate: new SimpleSchema({
listId: { type: String }
}).validator(),
validate: new SimpleSchema({
listId: { type: String }
}).validator(),
used It exactly like this, but on the clientside It throwed an error not of type validationError. I now have removed SimplSchema and do the validation in a custom function.
I think this is an issue with the node version of simple schema and validated method package.