Package graphql.validation
Class ValidationContext
java.lang.Object
graphql.validation.ValidationContext
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Document
private final Map
<String, FragmentDefinition> private final GraphQLContext
private final I18n
private final GraphQLSchema
private final TraversalContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
getFragment
(String name) getI18n()
Creates an I18N message using the key and argumentstoString()
-
Field Details
-
schema
-
document
-
traversalContext
-
fragmentDefinitionMap
-
i18n
-
graphQLContext
-
-
Constructor Details
-
ValidationContext
-
-
Method Details
-
buildFragmentMap
private void buildFragmentMap() -
getTraversalContext
-
getSchema
-
getDocument
-
getFragment
-
getParentType
-
getInputType
-
getDefaultValue
-
getFieldDef
-
getDirective
-
getArgument
-
getOutputType
-
getQueryPath
-
getI18n
-
getGraphQLContext
-
i18n
Creates an I18N message using the key and arguments- Parameters:
msgKey
- the key in the underlying message bundlemsgArgs
- the message arguments- Returns:
- the formatted I18N message
-
toString
-