MCPcopy Create free account

hub / github.com/vektah/gqlparser / functions

Functions429 in github.com/vektah/gqlparser

↓ 1 callersMethodFormatVariableDefinition
(def *ast.VariableDefinition)
formatter/formatter.go:717
↓ 1 callersMethodHas
( a *ast.FragmentSpread, b *ast.FragmentSpread, areMutuallyExclusive bool, )
validator/rules/overlapping_fields_can_be_merged.go:132
↓ 1 callersMethodIsAbstractType
()
ast/definition.go:52
↓ 1 callersMethodIsSchemaDefinitionsEmpty
Return true if schema definitions is empty (besides directives), false otherwise
formatter/formatter.go:350
↓ 1 callersFunctionIsValidFloatString
(val reflect.Value, kind reflect.Kind)
validator/vars.go:282
↓ 1 callersFunctionIsValidIntString
(val reflect.Value, kind reflect.Kind)
validator/vars.go:273
↓ 1 callersMethodIterator
()
validator/rules/overlapping_fields_can_be_merged.go:181
↓ 1 callersMethodKeyValueIterator
()
validator/rules/overlapping_fields_can_be_merged.go:190
↓ 1 callersFunctionLoadQuery
Deprecated: use LoadQueryWithRules instead.
gqlparser.go:35
↓ 1 callersFunctionLoadQueryWithRules
( schema *ast.Schema, str string, rules *rules.Rules, )
gqlparser.go:53
↓ 1 callersMethodName
()
lexer/token.go:34
↓ 1 callersFunctionNewDefaultRules
NewDefaultRules creates a Rules instance containing the default GraphQL validation rule set.
validator/rules/rules.go:29
↓ 1 callersMethodOnDirectiveList
(f func(walker *Walker, directives []*ast.Directive))
validator/core/walk.go:46
↓ 1 callersMethodOnVariable
(f func(walker *Walker, variable *ast.VariableDefinition))
validator/core/walk.go:54
↓ 1 callersFunctionParseSchemaWithLimit
(source *Source, maxTokenLimit int)
parser/schema.go:52
↓ 1 callersMethodPush
(responseName string, field *ast.Field)
validator/rules/overlapping_fields_can_be_merged.go:167
↓ 1 callersMethodRemoveRule
RemoveRule removes a rule with the specified name from the rule set. If no rule with the specified name exists, it does nothing.
validator/rules/rules.go:99
↓ 1 callersMethodReplaceRule
ReplaceRule replaces a rule with the specified name with a new rule function. If no rule with the specified name exists, it does nothing.
validator/rules/rules.go:116
↓ 1 callersMethodSetFile
(file string)
gqlerror/error.go:22
↓ 1 callersMethodString
()
ast/value.go:93
↓ 1 callersMethodString
()
ast/type.go:34
↓ 1 callersFunctionSuggestListUnquoted
(prefix, typed string, suggestions []string)
validator/core/helpers.go:46
↓ 1 callersFunctionSuggestf
(suggestion string, args ...any)
validator/core/helpers.go:55
↓ 1 callersMethodText
()
ast/comment.go:13
↓ 1 callersFunctionWalk
(schema *ast.Schema, document *ast.QueryDocument, observers *Events)
validator/core/walk.go:58
↓ 1 callersFunctionWithBuiltin
WithBuiltin includes builtin fields/directives/etc from the source/AST in the formatted output.
formatter/formatter.go:37
↓ 1 callersFunctionWithComments
WithComments includes comments from the source/AST in the formatted output.
formatter/formatter.go:30
↓ 1 callersFunctionWithCompacted
WithCompacted enables compacted output, which removes all unnecessary whitespace.
formatter/formatter.go:61
↓ 1 callersFunctionWithIndent
WithIndent uses the given string for indenting block bodies in the output, instead of the default, `"\t"`.
formatter/formatter.go:23
↓ 1 callersFunctionWithNonIntrospectionBuiltin
WithNonIntrospectionBuiltin includes builtin fields/directives/etc from the source/AST in the formatted output, but excludes the introspection types a
formatter/formatter.go:47
↓ 1 callersFunctionWithoutDescription
WithoutDescription excludes GQL description from the source/AST in the formatted output.
formatter/formatter.go:54
↓ 1 callersFunctionWrapIfUnwrapped
(err error)
gqlerror/error.go:140
↓ 1 callersFunctionWrapPath
(path ast.Path, err error)
gqlerror/error.go:119
↓ 1 callersFunctioncalcThreshold
(a string)
validator/core/helpers.go:118
↓ 1 callersFunctioncheckDepthFragmentSpread
( fragmentSpread *ast.FragmentSpread, visitedFragments map[string]bool, depth int, )
validator/rules/max_introspection_depth.go:69
↓ 1 callersMethodcollectConflictsWithin
( conflicts *conflictMessageContainer, fieldsMap *sequentialFieldsMap, )
validator/rules/overlapping_fields_can_be_merged.go:438
↓ 1 callersFunctionconcatSlice
By employing a full slice expression (slice[low:high:max]), where max is set to the slice’s length, we ensure that appending elements results in a sli
validator/rules/fields_on_correct_type.go:113
↓ 1 callersMethodconsumeComment
()
parser/parser.go:32
↓ 1 callersFunctioncontainsString
(slice []string, want string)
validator/schema.go:683
↓ 1 callersFunctiondoTypesConflict
(walker *Walker, type1, type2 *ast.Type)
validator/rules/overlapping_fields_can_be_merged.go:583
↓ 1 callersMethoddumpArray
(v reflect.Value)
ast/dumper.go:88
↓ 1 callersMethoddumpPtr
(v reflect.Value)
ast/dumper.go:155
↓ 1 callersMethoddumpStruct
(v reflect.Value)
ast/dumper.go:100
↓ 1 callersFunctionexportPrelude
()
validator/imported/export.js:18
↓ 1 callersFunctionexportSpecDefinitions
()
validator/imported/export.js:56
↓ 1 callersMethodfindConflictsBetweenSubSelectionSets
( areMutuallyExclusive bool, selectionSetA ast.SelectionSet, selectionSetB ast.SelectionSet, )
validator/rules/overlapping_fields_can_be_merged.go:380
↓ 1 callersFunctiongetFragmentSpreads
(node ast.SelectionSet)
validator/rules/no_fragment_cycles.go:77
↓ 1 callersFunctiongetSuggestedFieldNames
For the field name provided, determine if there are any similar field names that may be the result of a typo.
validator/rules/fields_on_correct_type.go:120
↓ 1 callersFunctiongetSuggestedTypeNames
Go through all the implementations of type, as well as the interfaces that they implement. If any of those types include the provided field, suggest t
validator/rules/fields_on_correct_type.go:65
↓ 1 callersFunctionisCovariant
(schema *Schema, required, actual *Type)
validator/schema.go:687
↓ 1 callersFunctionisZero
(v reflect.Value)
ast/dumper.go:123
↓ 1 callersFunctionlexicalDistance
Computes the lexical distance between strings A and B. The "distance" between two strings is given by counting the minimum number of edits needed to
validator/core/helpers.go:137
↓ 1 callersFunctionmain
()
validator/imported/export.js:13
↓ 1 callersFunctionnormalizeWs
(rawString)
validator/imported/export.js:88
↓ 1 callersMethodparseArgument
(isConst bool)
parser/query.go:184
↓ 1 callersMethodparseArgumentDef
()
parser/schema.go:261
↓ 1 callersMethodparseDirective
(isConst bool)
parser/query.go:340
↓ 1 callersMethodparseDirectiveDefinition
(description descriptionWithComment)
parser/schema.go:553
↓ 1 callersMethodparseDirectiveLocations
()
parser/schema.go:575
↓ 1 callersMethodparseEnumTypeDefinition
(description descriptionWithComment)
parser/schema.go:354
↓ 1 callersMethodparseEnumTypeExtension
(comment *CommentGroup)
parser/schema.go:521
↓ 1 callersMethodparseEnumValueDefinition
()
parser/schema.go:377
↓ 1 callersMethodparseField
()
parser/query.go:154
↓ 1 callersMethodparseFieldDefinition
()
parser/schema.go:232
↓ 1 callersMethodparseFragment
()
parser/query.go:195
↓ 1 callersMethodparseFragmentDefinition
()
parser/query.go:221
↓ 1 callersMethodparseInputObjectTypeDefinition
(description descriptionWithComment)
parser/schema.go:394
↓ 1 callersMethodparseInputObjectTypeExtension
(comment *CommentGroup)
parser/schema.go:537
↓ 1 callersMethodparseInputValueDef
()
parser/schema.go:283
↓ 1 callersMethodparseInterfaceTypeDefinition
(description descriptionWithComment)
parser/schema.go:305
↓ 1 callersMethodparseInterfaceTypeExtension
(comment *CommentGroup)
parser/schema.go:488
↓ 1 callersMethodparseList
(isConst bool)
parser/query.go:294
↓ 1 callersMethodparseObject
(isConst bool)
parser/query.go:305
↓ 1 callersMethodparseObjectField
(isConst bool)
parser/query.go:316
↓ 1 callersMethodparseObjectTypeDefinition
(description descriptionWithComment)
parser/schema.go:193
↓ 1 callersMethodparseObjectTypeExtension
(comment *CommentGroup)
parser/schema.go:471
↓ 1 callersMethodparseOptionalSelectionSet
()
parser/query.go:124
↓ 1 callersMethodparseScalarTypeDefinition
(description descriptionWithComment)
parser/schema.go:179
↓ 1 callersMethodparseScalarTypeExtension
(comment *CommentGroup)
parser/schema.go:456
↓ 1 callersMethodparseSchemaDefinition
(description descriptionWithComment)
parser/schema.go:153
↓ 1 callersMethodparseSchemaExtension
(comment *CommentGroup)
parser/schema.go:440
↓ 1 callersMethodparseTypeSystemDefinition
(description descriptionWithComment)
parser/schema.go:127
↓ 1 callersMethodparseTypeSystemExtension
(doc *SchemaDocument)
parser/schema.go:417
↓ 1 callersMethodparseUnionTypeDefinition
(description descriptionWithComment)
parser/schema.go:321
↓ 1 callersMethodparseUnionTypeExtension
(comment *CommentGroup)
parser/schema.go:504
↓ 1 callersMethodparseVariableDefinition
()
parser/query.go:100
↓ 1 callersMethodpathString
()
gqlerror/error.go:69
↓ 1 callersMethodreadBlockString
readBlockString from the input """("?"?(\\"""|\\(?!=""")|[^"\\]))*""".
lexer/lexer.go:466
↓ 1 callersMethodreadComment
readComment from the input #[\u0009\u0020-\uFFFF]*.
lexer/lexer.go:248
↓ 1 callersMethodreadName
readName from the input [_A-Za-z][_0-9A-Za-z]*.
lexer/lexer.go:569
↓ 1 callersMethodreadNumber
readNumber from the input, either a float or an int depending on whether a decimal point appears. Int: -?(0|[1-9][0-9]*) Float: -?(0|[1-9][0-9]*)(\
lexer/lexer.go:269
↓ 1 callersMethodreadString
readString from the input "([^"\\\u000A\u000D]|(\\(u[0-9a-fA-F]{4}|["\\/bfnrt])))*".
lexer/lexer.go:352
↓ 1 callersFunctionregisterSchema
(schema)
validator/imported/export.js:58
↓ 1 callersFunctionretrieveTopFieldNames
(selectionSet ast.SelectionSet)
validator/rules/single_field_subscriptions.go:51
↓ 1 callersFunctionrunSpec
(t *testing.T, schemas []*ast.Schema, deviations []*Deviation, filename string)
validator/imported_test.go:70
↓ 1 callersFunctionrunSpecWithRules
( t *testing.T, schemas []*ast.Schema, deviations []*Deviation, filename string, )
validator/imported_test.go:183
↓ 1 callersFunctionsameValue
(value1, value2 *ast.Value)
validator/rules/overlapping_fields_can_be_merged.go:573
↓ 1 callersFunctiontypeName
(t reflect.Type)
ast/dumper.go:81
↓ 1 callersFunctionunhex
(b string)
lexer/lexer.go:548
↓ 1 callersFunctionvalidateDefinition
(schema *Schema, def *Definition)
validator/schema.go:272
← previousnext →201–300 of 429, ranked by callers