Replies: 1 comment
-
You could use a Dataloder, so you check for the permission once... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Can you suggest a good way to handle permissions. Like after custom logic the query returns "permission deny" error, same as 403 error.
Can't find any good idea. Currently the check was done in resolver. But bad thing is that each resolver has to call same function for permission check and return mixed Type. I am looking for idea of middleware, like authantication.
Beta Was this translation helpful? Give feedback.
All reactions