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.
|
public Object[] getArguments(graphql.schema.DataFetchingEnvironment dfe) throws org.eclipse.microprofile.graphql.GraphQLException, DateTimeException, ParseException, NumberFormatException
dfe - the Data Fetching Environment from graphql-javaorg.eclipse.microprofile.graphql.GraphQLExceptionDateTimeExceptionParseExceptionNumberFormatExceptionprotected Object afterRecursiveTransform(Object fieldValue, Field field) throws org.eclipse.microprofile.graphql.GraphQLException
fieldValue - the input from graphql-java, potentially transformedfield - the field as created while scanningorg.eclipse.microprofile.graphql.GraphQLExceptionCopyright © 2018–2020. All rights reserved.