public class GraphQLInputObjectRetriever
extends java.lang.Object
| Constructor and Description |
|---|
GraphQLInputObjectRetriever() |
| Modifier and Type | Method and Description |
|---|---|
graphql.schema.GraphQLInputType |
getInputObject(graphql.schema.GraphQLType graphQLType,
java.lang.String newNamePrefix,
java.util.Map<java.lang.String,graphql.schema.GraphQLType> typeRegistry)
This will turn a
GraphQLObjectType into a corresponding GraphQLInputObjectType |
public graphql.schema.GraphQLInputType getInputObject(graphql.schema.GraphQLType graphQLType,
java.lang.String newNamePrefix,
java.util.Map<java.lang.String,graphql.schema.GraphQLType> typeRegistry)
GraphQLObjectType into a corresponding GraphQLInputObjectTypegraphQLType - the graphql object typenewNamePrefix - since graphql types MUST be unique, this prefix will be applied to the new input typestypeRegistry - object thata saves all the typesGraphQLInputObjectType