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
#alias_selection, #arguments, #name, #selects_alias?
Constructor Details
[View source]
223
224
|
# File 'lib/graphql/execution/lookahead.rb', line 223
def initialize
end
|
Instance Method Details
[View source]
242
243
244
|
# File 'lib/graphql/execution/lookahead.rb', line 242
def inspect
"#<GraphQL::Execution::Lookahead::NullLookahead>"
end
|
permalink
#selected? ⇒ Boolean
[View source]
226
227
228
|
# File 'lib/graphql/execution/lookahead.rb', line 226
def selected?
false
end
|
permalink
#selections ⇒ Object
[View source]
238
239
240
|
# File 'lib/graphql/execution/lookahead.rb', line 238
def selections(*)
[]
end
|
permalink
#selects? ⇒ Boolean
[View source]
230
231
232
|
# File 'lib/graphql/execution/lookahead.rb', line 230
def selects?(*)
false
end
|