public class DirectiveWiringHelper
Based on SchemaGeneratorDirectiveHelper from graphql-java.
Relies on WiringFactory for providing applicable SchemaDirectiveWiring but if manual directive wiring map is provided it will take precedence over the wiring factory.
Constructor and Description |
---|
DirectiveWiringHelper(graphql.schema.idl.WiringFactory wiringFactory,
java.util.Map<java.lang.String,? extends graphql.schema.idl.SchemaDirectiveWiring> manualWiring)
Based on SchemaGeneratorDirectiveHelper from graphql-java.
|
DirectiveWiringHelper()
Based on SchemaGeneratorDirectiveHelper from graphql-java.
|
Modifier and Type | Method and Description |
---|---|
graphql.schema.GraphQLType |
onWire(graphql.schema.GraphQLType graphQLType)
Wire up the directive based on the GraphQL type
|
public DirectiveWiringHelper(graphql.schema.idl.WiringFactory wiringFactory, java.util.Map<java.lang.String,? extends graphql.schema.idl.SchemaDirectiveWiring> manualWiring)
Based on SchemaGeneratorDirectiveHelper from graphql-java.
Relies on WiringFactory for providing applicable SchemaDirectiveWiring but if manual directive wiring map is provided it will take precedence over the wiring factory.
public DirectiveWiringHelper()
Based on SchemaGeneratorDirectiveHelper from graphql-java.
Relies on WiringFactory for providing applicable SchemaDirectiveWiring but if manual directive wiring map is provided it will take precedence over the wiring factory.