Join Slack
Communities
Powered by
I would like to check for correct auth/permissions...
# orm-help
b
Brian
02/20/2019, 11:12 AM
I would like to check for correct auth/permissions before a user can access my Prisma forwardTo(‘db’) API
Copy code
posts: forwardTo('db')
What’s the best approach to handle this?
j
Jenkins
02/20/2019, 11:13 AM
Can recommend to have a look at GraphQL-Shield.
👍 1
h
Harshit
02/20/2019, 11:17 AM
Yes, you will require a middleware. I can also recommend graphql-shield
👍 1
b
Brian
02/20/2019, 11:27 AM
Cheers, I will checkout graphql-shield.
Open in Slack
Previous
Next