Allow GraphQL directive to be added #4309
dlhck
started this conversation in
Feature Requests
Replies: 0 comments
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.
-
Is your feature request related to a problem? Please describe.
I would like to create GraphQL directives to add reusable validation rules to the resolvers of some plugins.
Describe the solution you'd like
Add a new optional input field when creating a plugin
Additional context
The current alternative is to write a lot of code to check each field and throw an error.
Beta Was this translation helpful? Give feedback.
All reactions