Replies: 2 comments
-
@vladrnd, try this https://github.com/rebing/graphql-laravel#privacy
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi. I'm trying to determine what the best practice is for limiting the querying of relations on a particular type..
For example, an Account type has many relationships, but under certain circumstances I don't want the user to be able to query some of them.
I can think of creating a RestrictedAccount type, possibly implementing a common interface of Account, but I'm hoping I won't have to duplicate code.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions