public class ArgumentHelper extends AbstractHelper
classloadingService| Constructor and Description |
|---|
ArgumentHelper(List<Argument> arguments)
We need the modeled arguments to create the correct values
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
afterRecursiveTransform(Object fieldValue,
Field field)
Here we have the potential transformed input and just need to
get the correct type
|
Object[] |
getArguments(graphql.schema.DataFetchingEnvironment dfe)
This gets a list of arguments that we need to all the method.
|
Object[] |
getArguments(graphql.schema.DataFetchingEnvironment dfe,
boolean excludeSource) |
getArrayType, getTransformer, shouldTransformpublic Object[] getArguments(graphql.schema.DataFetchingEnvironment dfe) throws AbstractDataFetcherException
dfe - the Data Fetching Environment from graphql-javaAbstractDataFetcherExceptionpublic Object[] getArguments(graphql.schema.DataFetchingEnvironment dfe, boolean excludeSource) throws AbstractDataFetcherException
AbstractDataFetcherExceptionprotected Object afterRecursiveTransform(Object fieldValue, Field field) throws AbstractDataFetcherException
fieldValue - the input from graphql-java, potentially transformedfield - the field as created while scanningAbstractDataFetcherExceptionCopyright © 2018–2021. All rights reserved.