File: schema.go

package info (click to toggle)
golang-github-graph-gophers-graphql-go 1.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,516 kB
  • sloc: sh: 373; javascript: 21; makefile: 5
file content (145 lines) | stat: -rw-r--r-- 4,192 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
/*
Package types represents all types from the GraphQL specification in code.

The names of the Go types, whenever possible, match 1:1 with the names from
the specification.

Deprecated: Use package [ast] instead. This package will be deleted in future versions of the library.
*/
package types

import "github.com/graph-gophers/graphql-go/ast"

// Schema is here for backwards compatibility.
//
// Deprecated: use [ast.Schema] instead.
type Schema = ast.Schema

// Deprecated: use [ast.Argument] instead.
type Argument = ast.Argument

// Deprecated: use [ast.ArgumentList] instead.
type ArgumentList = ast.ArgumentList

// Deprecated: use [ast.ArgumentsDefinition] instead.
type ArgumentsDefinition = ast.ArgumentsDefinition

// Deprecated: use [ast.Directive] instead.
type Directive = ast.Directive

// Deprecated: use [ast.DirectiveDefinition] instead.
type DirectiveDefinition = ast.DirectiveDefinition

// Deprecated: use [ast.DirectiveList] instead.
type DirectiveList = ast.DirectiveList

// Deprecated: use [ast.EnumTypeDefinition] instead.
type EnumTypeDefinition = ast.EnumTypeDefinition

// Deprecated: use [ast.EnumValueDefinition] instead.
type EnumValueDefinition = ast.EnumValueDefinition

// Deprecated: use [ast.Extension] instead.
type Extension = ast.Extension

// Deprecated: use [ast.FieldDefinition] instead.
type FieldDefinition = ast.FieldDefinition

// Deprecated: use [ast.FieldsDefinition] instead.
type FieldsDefinition = ast.FieldsDefinition

// Deprecated: use [ast.Fragment] instead.
type Fragment = ast.Fragment

// Deprecated: use [ast.InlineFragment] instead.
type InlineFragment = ast.InlineFragment

// Deprecated: use [ast.FragmentDefinition] instead.
type FragmentDefinition = ast.FragmentDefinition

// Deprecated: use [ast.FragmentSpread] instead.
type FragmentSpread = ast.FragmentSpread

// Deprecated: use [ast.FragmentList] instead.
type FragmentList = ast.FragmentList

// Deprecated: use [ast.InputValueDefinition] instead.
type InputValueDefinition = ast.InputValueDefinition

// Deprecated: use [ast.InputValueDefinitionList] instead.
type InputValueDefinitionList = ast.InputValueDefinitionList

// Deprecated: use [ast.InputObject] instead.
type InputObject = ast.InputObject

// Deprecated: use [ast.InterfaceTypeDefinition] instead.
type InterfaceTypeDefinition = ast.InterfaceTypeDefinition

// Deprecated: use [ast.ObjectTypeDefinition] instead.
type ObjectTypeDefinition = ast.ObjectTypeDefinition

// Deprecated: use [ast.ExecutableDefinition] instead.
type ExecutableDefinition = ast.ExecutableDefinition

// Deprecated: use [ast.OperationDefinition] instead.
type OperationDefinition = ast.OperationDefinition

// Deprecated: use [ast.OperationType] instead.
type OperationType = ast.OperationType

// Deprecated: use [ast.Selection] instead.
type Selection = ast.Selection

// Deprecated: use [ast.SelectionSet] instead.
type SelectionSet = ast.SelectionSet

// Deprecated: use [ast.Field] instead.
type Field = ast.Field

// Deprecated: use [ast.OperationList] instead.
type OperationList = ast.OperationList

// Deprecated: use [ast.ScalarTypeDefinition] instead.
type ScalarTypeDefinition = ast.ScalarTypeDefinition

// Deprecated: use [ast.TypeName] instead.
type TypeName = ast.TypeName

// Deprecated: use [ast.NamedType] instead.
type NamedType = ast.NamedType

// Deprecated: use [ast.Ident] instead.
type Ident = ast.Ident

// Deprecated: use [ast.Type] instead.
type Type = ast.Type

// Deprecated: use [ast.List] instead.
type List = ast.List

// Deprecated: use [ast.NonNull] instead.
type NonNull = ast.NonNull

// Deprecated: use [ast.Union] instead.
type Union = ast.Union

// Deprecated: use [ast.Value] instead.
type Value = ast.Value

// Deprecated: use [ast.PrimitiveValue] instead.
type PrimitiveValue = ast.PrimitiveValue

// Deprecated: use [ast.ListValue] instead.
type ListValue = ast.ListValue

// Deprecated: use [ast.ObjectValue] instead.
type ObjectValue = ast.ObjectValue

// Deprecated: use [ast.ObjectField] instead.
type ObjectField = ast.ObjectField

// Deprecated: use [ast.NullValue] instead.
type NullValue = ast.NullValue

// Deprecated: use [ast.Variable] instead.
type Variable = ast.Variable