lib/graphql/relay/global_id_resolve.rb in graphql-1.13.9 vs lib/graphql/relay/global_id_resolve.rb in graphql-1.13.10

- old
+ new

@@ -8,11 +8,10 @@ def call(obj, args, ctx) if obj.is_a?(GraphQL::Schema::Object) obj = obj.object end - type = @type.respond_to?(:graphql_definition) ? @type.graphql_definition(silence_deprecation_warning: true) : @type - ctx.query.schema.id_from_object(obj, type, ctx) + ctx.query.schema.id_from_object(obj, @type, ctx) end end end end