class GraphQL::Execution::Lookahead::NullLookahead
This is returned for {Lookahead#selection} when a non-existent field is passed
Public Class Methods
new()
click to toggle source
No inputs required here.
# File lib/graphql/execution/lookahead.rb, line 170 def initialize end
Public Instance Methods
inspect()
click to toggle source
# File lib/graphql/execution/lookahead.rb, line 189 def inspect "#<GraphQL::Execution::Lookahead::NullLookahead>" end
selected?()
click to toggle source
# File lib/graphql/execution/lookahead.rb, line 173 def selected? false end
selection(*)
click to toggle source
# File lib/graphql/execution/lookahead.rb, line 181 def selection(*) NULL_LOOKAHEAD end
selections(*)
click to toggle source
# File lib/graphql/execution/lookahead.rb, line 185 def selections(*) [] end
selects?(*)
click to toggle source
# File lib/graphql/execution/lookahead.rb, line 177 def selects?(*) false end