Open full view…

Hi, I wanted to expand fori

Sat, 17 Nov 2018 22:20:02 GMT

nputs. For example ``` input userInput @auth(requires: ADMIN) { id:ID! } ``` Or like this ``` input userInput { id:ID! @auth(requires: ADMIN) } ``` I guess there is no way to do this for SchemaDirectiveVisitor class because, there is no resolve function in the input. So, I cannot access the context to control user roles. Can you advise me ? Thank you.