Instance Methodgraphqlswift.graphql 3.0.0GraphQL
report(error:)
ValidationContext.swift:65func report(error: GraphQLError)
func report(error: GraphQLError)
s7GraphQL20ASTValidationContextC6report5erroryAA0A7QLErrorV_tF
What are these?
FNV24: [45EO7]
import GraphQL
class ASTValidationContext
An instance of this class is passed as the “this” context to all validators, allowing access to commonly useful contextual information from within a validation rule.
struct GraphQLError
A GraphQLError describes an Error found during the parse, validate, or execute phases of performing a GraphQL operation. In addition to a message it also includes information about the locations in a GraphQL document and/or execution result that correspond to the error.
func getFragment(name: String) -> FragmentDefinition?
func getFragmentSpreads(node: SelectionSet) -> [FragmentSpread]
func getRecursivelyReferencedFragments(operation: OperationDefinition) -> [FragmentDefinition]