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 143
def initialize
end

Public Instance Methods

selected?() click to toggle source
# File lib/graphql/execution/lookahead.rb, line 146
def selected?
  false
end
selection(*) click to toggle source
# File lib/graphql/execution/lookahead.rb, line 154
def selection(*)
  NULL_LOOKAHEAD
end
selections(*) click to toggle source
# File lib/graphql/execution/lookahead.rb, line 158
def selections(*)
  []
end
selects?(*) click to toggle source
# File lib/graphql/execution/lookahead.rb, line 150
def selects?(*)
  false
end