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
170
171
|
# File 'lib/graphql/execution/lookahead.rb', line 170
def initialize
end
|
Instance Method Details
#inspect ⇒ Object
189
190
191
|
# File 'lib/graphql/execution/lookahead.rb', line 189
def inspect
"#<GraphQL::Execution::Lookahead::NullLookahead>"
end
|
#selected? ⇒ Boolean
173
174
175
|
# File 'lib/graphql/execution/lookahead.rb', line 173
def selected?
false
end
|
#selection ⇒ Object
181
182
183
|
# File 'lib/graphql/execution/lookahead.rb', line 181
def selection(*)
NULL_LOOKAHEAD
end
|
#selections ⇒ Object
185
186
187
|
# File 'lib/graphql/execution/lookahead.rb', line 185
def selections(*)
[]
end
|
#selects? ⇒ Boolean
177
178
179
|
# File 'lib/graphql/execution/lookahead.rb', line 177
def selects?(*)
false
end
|