You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, I would like to provide frontend information that the CreateUser doesn't have the HasRole set. This could be useful for scenarios such as disabling the 'Create User' button on the frontend interface.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Thank you for such an amazing tool.
Is there any way to reference the value of a custom directive outside of the call to the resolver it targets?
https://gqlgen.com/reference/directives/
For example, I would like to provide frontend information that the CreateUser doesn't have the HasRole set. This could be useful for scenarios such as disabling the 'Create User' button on the frontend interface.
Beta Was this translation helpful? Give feedback.
All reactions