Module: GraphQL::Schema::MethodWrappers
- Defined in:
 - lib/graphql/schema.rb
 
Instance Method Summary collapse
- 
  
    
      #resolve_type(type, obj, ctx = :__undefined__)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Wrap the user-provided resolve-type in a correctness check.
 
Instance Method Details
#resolve_type(type, obj, ctx = :__undefined__) ⇒ Object
Wrap the user-provided resolve-type in a correctness check
      1111 1112 1113 1114 1115  | 
    
      # File 'lib/graphql/schema.rb', line 1111 def resolve_type(type, obj, ctx = :__undefined__) graphql_definition.check_resolved_type(type, obj, ctx) do |ok_type, ok_obj, ok_ctx| super(ok_type, ok_obj, ok_ctx) end end  |