File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
lib/graphql/introspection Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 8
8
"they describe. Abstract types, Union and Interface, provide the Object types " \
9
9
"possible at runtime. List and NonNull types compose other types."
10
10
11
- field :name , types . String
12
- field :description , types . String
13
11
field :kind do
14
12
type !GraphQL ::Introspection ::TypeKindEnum
15
13
resolve -> ( target , a , c ) { target . kind . name }
16
14
end
15
+ field :name , types . String
16
+ field :description , types . String
17
17
field :fields , field : GraphQL ::Introspection ::FieldsField
18
- field :ofType , field : GraphQL ::Introspection ::OfTypeField
19
- field :inputFields , field : GraphQL ::Introspection ::InputFieldsField
18
+ field :interfaces , field : GraphQL ::Introspection ::InterfacesField
20
19
field :possibleTypes , field : GraphQL ::Introspection ::PossibleTypesField
21
20
field :enumValues , field : GraphQL ::Introspection ::EnumValuesField
22
- field :interfaces , field : GraphQL ::Introspection ::InterfacesField
21
+ field :inputFields , field : GraphQL ::Introspection ::InputFieldsField
22
+ field :ofType , field : GraphQL ::Introspection ::OfTypeField
23
23
end
Original file line number Diff line number Diff line change 175
175
}
176
176
177
177
type __Type {
178
+ kind: __TypeKind!
178
179
name: String
179
180
description: String
180
- kind: __TypeKind!
181
181
fields(includeDeprecated: Boolean = false): [__Field!]
182
- ofType: __Type
183
- inputFields: [__InputValue!]
182
+ interfaces: [__Type!]
184
183
possibleTypes: [__Type!]
185
184
enumValues(includeDeprecated: Boolean = false): [__EnumValue!]
186
- interfaces: [__Type!]
185
+ inputFields: [__InputValue!]
186
+ ofType: __Type
187
187
}
188
188
189
189
enum __TypeKind {
You can’t perform that action at this time.
0 commit comments