Not compatible with Meteor's check() package
Opened this issue · 0 comments
wernerbihl commented
I'm using the Meteor check() package with my project: https://atmospherejs.com/meteor/check
However whenever I add
Meteor.subscribe('Stream.feeds.user', 10, Meteor.userId()),
to my waitOn function inside my router, then I get the following error:
Exception from sub Stream.feeds.user id hQqJFRzFYLJ2b3bGn Error: Did not check() all arguments during publisher 'Stream.feeds.user'
I20170503-03:17:57.036(-7)? at [object Object]._.extend.throwUnlessAllArgumentsHaveBeenChecked (packages/check.js:485:13)
I20170503-03:17:57.037(-7)? at Object.exports.Match._failIfArgumentsAreNotAllChecked (packages/check.js:133:16)
I20170503-03:17:57.037(-7)? at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1734:18)
I20170503-03:17:57.038(-7)? at [object Object]._.extend._runHandler (packages/ddp-server/livedata_server.js:1035:17)
I20170503-03:17:57.041(-7)? at [object Object].subscriptionProto._runHandler (packages/meteorhacks_kadira.js:2781:24)
I20170503-03:17:57.041(-7)? at [object Object]._.extend._startSubscription (packages/ddp-server/livedata_server.js:853:9)
I20170503-03:17:57.042(-7)? at [object Object]._.extend.protocol_handlers.sub (packages/ddp-server/livedata_server.js:625:12)
I20170503-03:17:57.042(-7)? at packages/meteorhacks_kadira.js:2644:34
I20170503-03:17:57.045(-7)? at [object Object]._.extend.withValue (packages/meteor.js:1122:17)
I20170503-03:17:57.046(-7)? at [object Object].sessionProto.protocol_handlers.sub (packages/meteorhacks_kadira.js:2643:44)