Class: GraphQL::Execution::Lookahead::NullLookahead
Overview
This is returned for #selection when a non-existent field is passed
Constant Summary
NULL_LOOKAHEAD
Instance Attribute Summary
#ast_nodes, #field, #owner_type
Instance Method Summary
collapse
#arguments, #name
Constructor Details
193
194
|
# File 'lib/graphql/execution/lookahead.rb', line 193
def initialize
end
|
Instance Method Details
#inspect ⇒ Object
212
213
214
|
# File 'lib/graphql/execution/lookahead.rb', line 212
def inspect
"#<GraphQL::Execution::Lookahead::NullLookahead>"
end
|
#selected? ⇒ Boolean
196
197
198
|
# File 'lib/graphql/execution/lookahead.rb', line 196
def selected?
false
end
|
#selection ⇒ Object
204
205
206
|
# File 'lib/graphql/execution/lookahead.rb', line 204
def selection(*)
NULL_LOOKAHEAD
end
|
#selections ⇒ Object
208
209
210
|
# File 'lib/graphql/execution/lookahead.rb', line 208
def selections(*)
[]
end
|
#selects? ⇒ Boolean
200
201
202
|
# File 'lib/graphql/execution/lookahead.rb', line 200
def selects?(*)
false
end
|