Method: GraphQL::Schema::IntrospectionSystem::PerFieldProxyResolve#call
- Defined in:
- lib/graphql/schema/introspection_system.rb
#call(obj, args, ctx) ⇒ Object
143 144 145 146 147 148 149 150 151 |
# File 'lib/graphql/schema/introspection_system.rb', line 143 def call(obj, args, ctx) query_ctx = ctx.query.context # Remove the QueryType wrapper if obj.is_a?(GraphQL::Schema::Object) obj = obj.object end wrapped_object = @object_class.wrap(obj, query_ctx) @inner_resolve.call(wrapped_object, args, ctx) end |