public static class ExecutableNormalizedOperationFactory.Options
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static ExecutableNormalizedOperationFactory.Options |
defaultOptions() |
GraphQLContext |
getGraphQLContext() |
java.util.Locale |
getLocale() |
int |
getMaxChildrenDepth() |
int |
getMaxFieldsCount() |
ExecutableNormalizedOperationFactory.Options |
graphQLContext(GraphQLContext graphQLContext)
Context object to use when parsing the operation.
|
ExecutableNormalizedOperationFactory.Options |
locale(java.util.Locale locale)
Locale to use when parsing the query.
|
ExecutableNormalizedOperationFactory.Options |
maxChildrenDepth(int maxChildrenDepth)
Controls the maximum depth of the operation.
|
ExecutableNormalizedOperationFactory.Options |
maxFieldsCount(int maxFieldsCount)
Controls the maximum number of ENFs created.
|
public static ExecutableNormalizedOperationFactory.Options defaultOptions()
public ExecutableNormalizedOperationFactory.Options locale(java.util.Locale locale)
e.g. can be passed to Coercing
for parsing.
locale
- the locale to usepublic ExecutableNormalizedOperationFactory.Options graphQLContext(GraphQLContext graphQLContext)
graphQLContext
- the context to usepublic ExecutableNormalizedOperationFactory.Options maxChildrenDepth(int maxChildrenDepth)
maxChildrenDepth
- the max depthpublic ExecutableNormalizedOperationFactory.Options maxFieldsCount(int maxFieldsCount)
maxFieldsCount
- the max number of ENFs createdpublic GraphQLContext getGraphQLContext()
graphQLContext(GraphQLContext)
public java.util.Locale getLocale()
locale(Locale)
public int getMaxChildrenDepth()
maxChildrenDepth(int)
public int getMaxFieldsCount()