Sha256: d6c944032b48605312439be97a7b12252d49a377bafe8e460a5b2fe054a6df81
Contents?: true
Size: 262 Bytes
Versions: 45
Compression:
Stored size: 262 Bytes
Contents
# frozen_string_literal: true module GraphQL module Relay class GlobalIdResolve def initialize(type:) @type = type end def call(obj, args, ctx) ctx.query.schema.id_from_object(obj, @type, ctx) end end end end
Version data entries
45 entries across 45 versions & 1 rubygems