@PublicApi public interface FieldAndArguments
Modifier and Type | Method and Description |
---|---|
<T> T |
getArgumentValue(String argumentName)
This will return the named field argument value and cast it to the desired type.
|
Map<String,Object> |
getArgumentValuesByName()
This will be a map of argument names to argument values.
|
Field |
getField() |
GraphQLFieldDefinition |
getFieldDefinition() |
FieldAndArguments |
getParentFieldAndArguments() |
GraphQLCompositeType |
getParentType() |
ExecutionPath |
getPath() |
Field getField()
GraphQLFieldDefinition getFieldDefinition()
GraphQLCompositeType getParentType()
FieldAndArguments getParentFieldAndArguments()
ExecutionPath getPath()
Map<String,Object> getArgumentValuesByName()
<T> T getArgumentValue(String argumentName)
T
- the type of the underlying value objectargumentName
- the name of the argumentCopyright © 2019. All rights reserved.