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 Attribute Summary
Attributes inherited from GraphQL::Execution::Lookahead
#ast_nodes, #field, #owner_type
Instance Method Summary collapse
- 
  
    
      #initialize  ⇒ NullLookahead 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
No inputs required here.
 - 
  
    
      #inspect  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
 - 
  
    
      #selected?  ⇒ Boolean 
    
    
  
  
  
  
  
  
  
  
  
    
 - 
  
    
      #selection  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
 - 
  
    
      #selections  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
 - 
  
    
      #selects?  ⇒ Boolean 
    
    
  
  
  
  
  
  
  
  
  
    
 
Methods inherited from GraphQL::Execution::Lookahead
#alias_selection, #arguments, #name, #selects_alias?
Constructor Details
#initialize ⇒ NullLookahead
No inputs required here.
      216 217  | 
    
      # File 'lib/graphql/execution/lookahead.rb', line 216 def initialize end  | 
  
Instance Method Details
#inspect ⇒ Object
      235 236 237  | 
    
      # File 'lib/graphql/execution/lookahead.rb', line 235 def inspect "#<GraphQL::Execution::Lookahead::NullLookahead>" end  | 
  
#selected? ⇒ Boolean
      219 220 221  | 
    
      # File 'lib/graphql/execution/lookahead.rb', line 219 def selected? false end  | 
  
#selection ⇒ Object
      227 228 229  | 
    
      # File 'lib/graphql/execution/lookahead.rb', line 227 def selection(*) NULL_LOOKAHEAD end  | 
  
#selections ⇒ Object
      231 232 233  | 
    
      # File 'lib/graphql/execution/lookahead.rb', line 231 def selections(*) [] end  | 
  
#selects? ⇒ Boolean
      223 224 225  | 
    
      # File 'lib/graphql/execution/lookahead.rb', line 223 def selects?(*) false end  |