Closed ScreamZ closed 5 years ago
@kkemple Up :)
@kkemple Re-up ;)
@ScreamZ I also have problems with dynamic scopes like:
import withAuth from 'graphql-auth';
const resolvers = {
Query: {
users: withAuth(
(root: any, args: any, context: any, info: any) => { /* return scope based on resolver args */ },
(root: any, args: any, context: any, info: any) => { ... }),
...
}
}
@mitjade Oh yes, I never used actually so I forgot, I'll fix this
@ScreamZ Any chance of taking a look at the problems with dynamic scopes?
@mitjade Yes, I'll look forward, I update this
Hey,
I missed that the module was doing a
export default
, typings are wrong atm, this fix ambients types.Can you release a patch accordingly, thanks :)
Regards