Node: Applying express middleware to specific GraphQL query types

前端 未结 0 1443
离开以前
离开以前 2021-02-10 05:09

I have multiple graphql query types. I wish to apply middleware to one query type only for authentication. Is this possible?

Something like this



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题