public class KotlinDirectiveWiringFactory
Wiring factory that is used to provide the directives.
Constructor and Description |
---|
KotlinDirectiveWiringFactory(java.util.Map<java.lang.String,? extends com.expedia.graphql.directives.KotlinSchemaDirectiveWiring> manualWiring)
Wiring factory that is used to provide the directives.
|
KotlinDirectiveWiringFactory()
Wiring factory that is used to provide the directives.
|
Modifier and Type | Method and Description |
---|---|
KotlinSchemaDirectiveWiring |
getSchemaDirectiveWiring(KotlinSchemaDirectiveEnvironment<? extends graphql.schema.GraphQLDirectiveContainer> environment)
Retrieve schema directive wiring for the specified environment or NULL if wiring is not supported by this factory.
|
graphql.schema.GraphQLType |
onWire(graphql.schema.GraphQLType graphQLType,
graphql.schema.FieldCoordinates coordinates,
graphql.schema.GraphQLCodeRegistry.Builder codeRegistry)
Wire up the directive based on the GraphQL type.
|
public KotlinDirectiveWiringFactory(java.util.Map<java.lang.String,? extends com.expedia.graphql.directives.KotlinSchemaDirectiveWiring> manualWiring)
Wiring factory that is used to provide the directives.
public KotlinDirectiveWiringFactory()
Wiring factory that is used to provide the directives.
public graphql.schema.GraphQLType onWire(graphql.schema.GraphQLType graphQLType, graphql.schema.FieldCoordinates coordinates, graphql.schema.GraphQLCodeRegistry.Builder codeRegistry)
Wire up the directive based on the GraphQL type.
public KotlinSchemaDirectiveWiring getSchemaDirectiveWiring(KotlinSchemaDirectiveEnvironment<? extends graphql.schema.GraphQLDirectiveContainer> environment)
Retrieve schema directive wiring for the specified environment or NULL if wiring is not supported by this factory.