meteor-feature-requests
meteor-feature-requests copied to clipboard
get method name and publication name from server side
when you invoke Meteor.call, Meteor.subscribe, i want to know which method or publication i'm working with currently.
there's
this.userId
better have something like
this.methodName this.publicationName
In publications, you can use this._name
in methods, native methods don't have the attribute, but you can use mdg:validated-methods which provide this.name
better have this in core method name can be useful
Would something along these lines work: https://github.com/meteor/meteor/pull/11039