graphql-java-kickstart / graphql-java-servlet

Servlet endpoint for GraphQL Java
https://www.graphql-java-kickstart.com/servlet/
Other
223 stars 114 forks source link

Add new GraphQLDirectiveProvider for custom directives #559

Closed gflores-jahia closed 7 months ago

gflores-jahia commented 7 months ago

Recreated from https://github.com/graphql-java-kickstart/graphql-java-servlet/pull/557

https://github.com/graphql-java-kickstart/graphql-java-servlet/discussions/555

Currently graphql schema with custom directives can fail validation due to missing custom directive definitions when trying to build the schema.

Add new GraphQLDirectiveProvider to be able to insert these custom directive definitions and build/validate schema without issues.