-
- All Implemented Interfaces:
public class KotlinDirectiveWiringFactory
Wiring factory that is used to provide the directives.
-
-
Constructor Summary
Constructors Constructor Description KotlinDirectiveWiringFactory(Map<String, KotlinSchemaDirectiveWiring> manualWiring)
-
Method Summary
Modifier and Type Method Description final GraphQLSchemaElement
onWire(GraphQLSchemaElement graphQLSchemaElement, FieldCoordinates coordinates, GraphQLCodeRegistry.Builder codeRegistry)
Wire up the directive based on the GraphQL type. KotlinSchemaDirectiveWiring
getSchemaDirectiveWiring(KotlinSchemaDirectiveEnvironment<GraphQLDirectiveContainer> environment)
Retrieve schema directive wiring for the specified environment or NULL if wiring is not supported by this factory. -
-
Constructor Detail
-
KotlinDirectiveWiringFactory
KotlinDirectiveWiringFactory(Map<String, KotlinSchemaDirectiveWiring> manualWiring)
-
-
Method Detail
-
onWire
final GraphQLSchemaElement onWire(GraphQLSchemaElement graphQLSchemaElement, FieldCoordinates coordinates, GraphQLCodeRegistry.Builder codeRegistry)
Wire up the directive based on the GraphQL type.
-
getSchemaDirectiveWiring
KotlinSchemaDirectiveWiring getSchemaDirectiveWiring(KotlinSchemaDirectiveEnvironment<GraphQLDirectiveContainer> environment)
Retrieve schema directive wiring for the specified environment or NULL if wiring is not supported by this factory.
-
-
-
-