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
160
161
|
# File 'lib/graphql/execution/lookahead.rb', line 160
def initialize
end
|
Instance Method Details
#inspect ⇒ Object
179
180
181
|
# File 'lib/graphql/execution/lookahead.rb', line 179
def inspect
"#<GraphQL::Execution::Lookahead::NullLookahead>"
end
|
#selected? ⇒ Boolean
163
164
165
|
# File 'lib/graphql/execution/lookahead.rb', line 163
def selected?
false
end
|
#selection ⇒ Object
171
172
173
|
# File 'lib/graphql/execution/lookahead.rb', line 171
def selection(*)
NULL_LOOKAHEAD
end
|
#selections ⇒ Object
175
176
177
|
# File 'lib/graphql/execution/lookahead.rb', line 175
def selections(*)
[]
end
|
#selects? ⇒ Boolean
167
168
169
|
# File 'lib/graphql/execution/lookahead.rb', line 167
def selects?(*)
false
end
|