Class ValidationContext
java.lang.Object
graphql.validation.ValidationContext
-
Constructor Summary
ConstructorsConstructorDescriptionValidationContext(GraphQLSchema schema, Document document, I18n i18n) ValidationContext(GraphQLSchema schema, Document document, I18n i18n, @Nullable QueryComplexityLimits limits) -
Method Summary
Modifier and TypeMethodDescription@Nullable GraphQLArgument@Nullable InputValueWithState@Nullable GraphQLDirective@Nullable GraphQLFieldDefinition@Nullable FragmentDefinitiongetFragment(String name) getI18n()@Nullable GraphQLInputType@Nullable GraphQLOutputType@Nullable GraphQLCompositeTypeCreates an I18N message using the key and argumentstoString()
-
Constructor Details
-
ValidationContext
-
ValidationContext
public ValidationContext(GraphQLSchema schema, Document document, I18n i18n, @Nullable QueryComplexityLimits limits)
-
-
Method Details
-
getTraversalContext
-
getSchema
-
getDocument
-
getFragment
-
getParentType
-
getInputType
-
getDefaultValue
-
getFieldDef
-
getDirective
-
getArgument
-
getOutputType
-
getQueryPath
-
getI18n
-
getGraphQLContext
-
getQueryComplexityLimits
-
i18n
-
toString
-