module GraphQL::Schema::MethodWrappers
Public Instance Methods
resolve_type(type, obj, ctx = :__undefined__)
click to toggle source
Wrap the user-provided resolve-type in a correctness check
Calls superclass method
# File lib/graphql/schema.rb, line 1038 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