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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
Schema {
sources: {
1: SourceFile {
path: "built_in.graphql",
source_text: include_str!("built_in.graphql"),
},
16: SourceFile {
path: "0014_float_values.graphql",
source_text: "type Query {\n name(arg: WithAllKindsOfFloats): String\n}\n\ninput WithAllKindsOfFloats {\n a_regular_float: Float = 1.2\n an_integer_float: Float = 1234\n a_float_that_doesnt_fit_an_int: Float = 9876543210\n list_of_floats: [Float] = [4, 9876543210, 98765432109876543210]\n}\n",
},
},
schema_definition: SchemaDefinition {
description: None,
directives: [],
query: Some(
ComponentName {
origin: Definition,
name: "Query",
},
),
mutation: None,
subscription: None,
},
directive_definitions: {
"skip": built_in_directive!("skip"),
"include": built_in_directive!("include"),
"deprecated": built_in_directive!("deprecated"),
"specifiedBy": built_in_directive!("specifiedBy"),
},
types: {
"__Schema": built_in_type!("__Schema"),
"__Type": built_in_type!("__Type"),
"__TypeKind": built_in_type!("__TypeKind"),
"__Field": built_in_type!("__Field"),
"__InputValue": built_in_type!("__InputValue"),
"__EnumValue": built_in_type!("__EnumValue"),
"__Directive": built_in_type!("__Directive"),
"__DirectiveLocation": built_in_type!("__DirectiveLocation"),
"Float": built_in_type!("Float"),
"String": built_in_type!("String"),
"Boolean": built_in_type!("Boolean"),
"Query": Object(
0..56 @16 ObjectType {
description: None,
name: "Query",
implements_interfaces: {},
directives: [],
fields: {
"name": Component {
origin: Definition,
node: 15..54 @16 FieldDefinition {
description: None,
name: "name",
arguments: [
20..45 @16 InputValueDefinition {
description: None,
name: "arg",
ty: 25..45 @16 Named(
"WithAllKindsOfFloats",
),
default_value: None,
directives: [],
},
],
ty: Named(
"String",
),
directives: [],
},
},
},
},
),
"WithAllKindsOfFloats": InputObject(
58..271 @16 InputObjectType {
description: None,
name: "WithAllKindsOfFloats",
directives: [],
fields: {
"a_regular_float": Component {
origin: Definition,
node: 89..117 @16 InputValueDefinition {
description: None,
name: "a_regular_float",
ty: 106..111 @16 Named(
"Float",
),
default_value: Some(
114..117 @16 Float(
1.2,
),
),
directives: [],
},
},
"an_integer_float": Component {
origin: Definition,
node: 120..150 @16 InputValueDefinition {
description: None,
name: "an_integer_float",
ty: 138..143 @16 Named(
"Float",
),
default_value: Some(
146..150 @16 Int(
1234,
),
),
directives: [],
},
},
"a_float_that_doesnt_fit_an_int": Component {
origin: Definition,
node: 153..203 @16 InputValueDefinition {
description: None,
name: "a_float_that_doesnt_fit_an_int",
ty: 185..190 @16 Named(
"Float",
),
default_value: Some(
193..203 @16 Int(
9876543210,
),
),
directives: [],
},
},
"list_of_floats": Component {
origin: Definition,
node: 206..269 @16 InputValueDefinition {
description: None,
name: "list_of_floats",
ty: 222..229 @16 List(
Named(
"Float",
),
),
default_value: Some(
232..269 @16 List(
[
233..234 @16 Int(
4,
),
236..246 @16 Int(
9876543210,
),
248..268 @16 Int(
98765432109876543210,
),
],
),
),
directives: [],
},
},
},
},
),
},
}
ExecutableDocument {
sources: {
1: SourceFile {
path: "built_in.graphql",
source_text: include_str!("built_in.graphql"),
},
16: SourceFile {
path: "0014_float_values.graphql",
source_text: "type Query {\n name(arg: WithAllKindsOfFloats): String\n}\n\ninput WithAllKindsOfFloats {\n a_regular_float: Float = 1.2\n an_integer_float: Float = 1234\n a_float_that_doesnt_fit_an_int: Float = 9876543210\n list_of_floats: [Float] = [4, 9876543210, 98765432109876543210]\n}\n",
},
},
operations: OperationMap {
anonymous: None,
named: {},
},
fragments: {},
}