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 lastGraphQLInputValueDefinitionthat 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.GraphQLListandGraphQLNonNulltypes have been removed- Returns:
- then list of
GraphQLInputValueDefinitionelements that lead to an input value.
-
getLastInputValueDefinition
GraphQLInputValueDefinition getLastInputValueDefinition()This is the lastGraphQLInputValueDefinitionthat pointed to the value during a callback. This will be either aGraphQLArgumentor aGraphQLInputObjectField- Returns:
- the last
GraphQLInputValueDefinitionthat contains this value
-