How do you implement a resolver within a resolver?
const resolver = {
Query: {
function: () => {
// code for function
},
use.function: () => {
// this doesn't work
this.function()
}
}
And in meteor the code is as follows:
Meteor.methods({
'function'() {
// code for function
}
'use.function'() {
// works in meteor
Meteor.call('function');
}
});