How do I add a schema directive? #6552
Answered
by
michaelstaib
willmarriott
asked this question in
Q&A
Replies: 1 comment 1 reply
-
builder.Services
.AddGraphQLServer()
.AddTypes()
.SetSchema(c => c.Directive(...)); |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
michaelstaib
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm looking to add a schema directive but having trouble working out how.
I've been able to add it to the Query via a QueryType.
How can I move this up to the schema?
Beta Was this translation helpful? Give feedback.
All reactions