We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a03f31a + ecca60f commit 47d02d3Copy full SHA for 47d02d3
src/main/kotlin/com/coxautodev/graphql/tools/SchemaParserBuilder.kt
@@ -94,6 +94,10 @@ class SchemaParserBuilder constructor(private val dictionary: SchemaParserDictio
94
this.runtimeWiringBuilder.directive(name, directive)
95
}
96
97
+ fun directiveWiring(directive: SchemaDirectiveWiring) = this.apply {
98
+ this.runtimeWiringBuilder.directiveWiring(directive)
99
+ }
100
+
101
/**
102
* Add arbitrary classes to the parser's dictionary, overriding the generated type name.
103
*/
0 commit comments