Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/vektah/gqlparser
/ types & classes
Types & classes
86 in github.com/vektah/gqlparser
⨍
Functions
429
◇
Types & classes
86
↓ 17 callers
TypeAlias
PathName
ast/path.go:70
↓ 11 callers
TypeAlias
PathIndex
ast/path.go:66
↓ 2 callers
TypeAlias
NameSorter
NameSorter sorts Rules by name. usage: sort.Sort(core.NameSorter(specifiedRules))
validator/core/core.go:18
↓ 1 callers
TypeAlias
DirectiveLocation
ast/directive.go:3
↓ 1 callers
TypeAlias
List
gqlerror/error.go:38
FuncType
AddErrFunc
func(options ...ErrorOption)
validator/core/core.go:7
Struct
Argument
ast/selection.go:32
Struct
ArgumentDefinition
ast/definition.go:81
TypeAlias
ArgumentDefinitionList
ast/collections.go:93
TypeAlias
ArgumentList
ast/collections.go:82
Struct
ChildValue
ast/value.go:38
TypeAlias
ChildValueList
ast/collections.go:139
Struct
Comment
ast/comment.go:8
Struct
CommentGroup
ast/comment.go:17
Struct
ConflictMessage
validator/rules/overlapping_fields_can_be_merged.go:206
Struct
Definition
Definition is the core type definition object, it includes all of the definable types but does *not* cover schema or directives. @vektah: Javascript
ast/definition.go:24
TypeAlias
DefinitionKind
ast/definition.go:5
TypeAlias
DefinitionList
ast/collections.go:117
Struct
Deviation
validator/imported_test.go:29
Struct
Directive
ast/directive.go:30
Struct
DirectiveDefinition
ast/definition.go:103
TypeAlias
DirectiveDefinitionList
ast/collections.go:106
TypeAlias
DirectiveList
ast/collections.go:25
Interface
Dumpable
ast/dumper.go:26
Struct
EnumValueDefinition
ast/definition.go:93
TypeAlias
EnumValueList
ast/collections.go:14
Struct
Error
Error is the standard graphql error type described in https://spec.graphql.org/draft/#sec-Errors
gqlerror/error.go:13
FuncType
ErrorOption
func(err *gqlerror.Error)
validator/core/core.go:24
Struct
Events
validator/core/walk.go:10
TypeAlias
Features
parser/testrunner/runner.go:15
Struct
Field
ast/selection.go:18
Struct
FieldDefinition
ast/definition.go:68
TypeAlias
FieldList
ast/collections.go:3
Interface
Formatter
formatter/formatter.go:12
FuncType
FormatterOption
nolint:revive // Ignore "stuttering" name formatter.FormatterOption
formatter/formatter.go:19
Struct
FragmentDefinition
ast/fragment.go:27
TypeAlias
FragmentDefinitionList
ast/collections.go:60
Struct
FragmentSpread
ast/fragment.go:3
Struct
InlineFragment
ast/fragment.go:15
Struct
Lexer
Lexer turns graphql request and schema strings into tokens.
lexer/lexer.go:13
Struct
Location
gqlerror/error.go:33
TypeAlias
Operation
ast/operation.go:3
Struct
OperationDefinition
ast/operation.go:11
TypeAlias
OperationList
ast/collections.go:46
Struct
OperationTypeDefinition
ast/document.go:85
TypeAlias
OperationTypeDefinitionList
ast/collections.go:128
TypeAlias
Path
ast/path.go:11
Interface
PathElement
ast/path.go:13
Struct
Position
ast/source.go:13
Struct
QueryDocument
ast/document.go:3
Struct
Rule
validator/core/core.go:11
FuncType
RuleFunc
func(observers *Events, addError AddErrFunc)
validator/core/core.go:9
Struct
Rules
Rules manages GraphQL validation rules.
validator/rules/rules.go:10
Struct
Schema
ast/document.go:28
Struct
SchemaDefinition
ast/document.go:74
TypeAlias
SchemaDefinitionList
ast/collections.go:104
Struct
SchemaDocument
ast/document.go:10
Interface
Selection
ast/selection.go:5
TypeAlias
SelectionSet
ast/selection.go:3
Struct
Source
Source covers a single *.graphql file.
ast/source.go:4
Struct
Spec
parser/testrunner/runner.go:17
Struct
Spec
ast/path_test.go:11
Struct
Spec
validator/imported_test.go:21
Struct
Token
lexer/token.go:137
Struct
Token
parser/testrunner/runner.go:25
Struct
Type
ast/type.go:19
TypeAlias
Type
Kind represents a type of token. The types are predefined as constants.
lexer/token.go:135
Struct
Value
ast/value.go:24
TypeAlias
ValueKind
ast/value.go:9
Struct
VariableDefinition
ast/operation.go:21
TypeAlias
VariableDefinitionList
ast/collections.go:71
Struct
Walker
validator/core/walk.go:68
Struct
conflictMessageContainer
validator/rules/overlapping_fields_can_be_merged.go:202
Struct
descriptionWithComment
parser/schema.go:635
Struct
dumper
ast/dumper.go:21
Struct
fieldIterateEntry
validator/rules/overlapping_fields_can_be_merged.go:162
Struct
formatter
formatter/formatter.go:78
Struct
goldenConfig
formatter/formatter_test.go:178
Struct
mayNotBeUsedDirective
validator/rules/known_directives.go:14
Struct
overlappingFieldsCanBeMergedManager
validator/rules/overlapping_fields_can_be_merged.go:244
Struct
pairSet
validator/rules/overlapping_fields_can_be_merged.go:111
Struct
parser
parser/parser.go:11
Struct
sequentialFieldsMap
validator/rules/overlapping_fields_can_be_merged.go:156
Struct
testError
gqlerror/error_test.go:12
Struct
topField
validator/rules/single_field_subscriptions.go:46
Struct
varValidator
validator/vars.go:106