I’m starting my second meteor project and have just found myself removing the check package again as I find it both annoying and buggy.
For instance I did the following:
Meteor.methods({ foo: function(bar) {
check(bar, Match.Any);
...
}});
I confirmed foo was only receiving 1 argument yet I was still getting a Error: Did not check() all arguments during call to 'foo'
.
The only other place so far I had used the check method call I was forced into checking that the values passed were strings (one is a date string) so it seems quite pointless in general and annoying. Am I missing something?