Class: GraphQL::Execution::Lookahead::NullLookahead
- Inherits:
-
GraphQL::Execution::Lookahead
- Object
- GraphQL::Execution::Lookahead
- GraphQL::Execution::Lookahead::NullLookahead
- Defined in:
- lib/graphql/execution/lookahead.rb
Overview
This is returned for #selection when a non-existent field is passed
Constant Summary
Constants inherited from GraphQL::Execution::Lookahead
Instance Method Summary collapse
-
#initialize ⇒ NullLookahead
constructor
No inputs required here.
-
#selected? ⇒ Boolean
-
#selection ⇒ Object
-
#selects? ⇒ Boolean
Constructor Details
#initialize ⇒ NullLookahead
No inputs required here.
100 101 |
# File 'lib/graphql/execution/lookahead.rb', line 100 def initialize end |
Instance Method Details
#selected? ⇒ Boolean
103 104 105 |
# File 'lib/graphql/execution/lookahead.rb', line 103 def selected? false end |
#selection ⇒ Object
111 112 113 |
# File 'lib/graphql/execution/lookahead.rb', line 111 def selection(*) NULL_LOOKAHEAD end |
#selects? ⇒ Boolean
107 108 109 |
# File 'lib/graphql/execution/lookahead.rb', line 107 def selects?(*) false end |