Package graphql.analysis.values
Interface ValueVisitor.InputElements
- Enclosing interface:
ValueVisitor
public static interface ValueVisitor.InputElements
Represents the elements that leads to a value and type
-
Method Summary
Modifier and TypeMethodDescriptionThis is the lastGraphQLInputValueDefinition
that pointed to the value during a callback.This is the list of input schema elements that are unwrapped, e.g.
-
Method Details
-
getInputElements
List<GraphQLInputSchemaElement> getInputElements()- Returns:
- then list of input schema elements that lead to an input value.
-
getUnwrappedInputElements
List<GraphQLInputSchemaElement> getUnwrappedInputElements()This is the list of input schema elements that are unwrapped, e.g.GraphQLList
andGraphQLNonNull
types have been removed- Returns:
- then list of
GraphQLInputValueDefinition
elements that lead to an input value.
-
getLastInputValueDefinition
GraphQLInputValueDefinition getLastInputValueDefinition()This is the lastGraphQLInputValueDefinition
that pointed to the value during a callback. This will be either aGraphQLArgument
or aGraphQLInputObjectField
- Returns:
- the last
GraphQLInputValueDefinition
that contains this value
-