public class KotlinSchemaDirectiveEnvironment<T extends GraphQLDirectiveContainer>
KotlinSchemaDirectiveEnvironment holds basic wiring information that includes target element and directive that is to be applied.
Constructor and Description |
---|
KotlinSchemaDirectiveEnvironment(T element,
graphql.schema.GraphQLDirective directive)
KotlinSchemaDirectiveEnvironment holds basic wiring information that includes target element and directive that is to be applied.
|
Modifier and Type | Method and Description |
---|---|
graphql.schema.GraphQLDirective |
getDirective() |
T |
getElement() |
boolean |
isValid()
Verifies whether specified directive is applicable on the target element.
|