Sha256: 13e835628e8dfc759b128107a1bf7b44fcf1f83613b32efeba2010412663d935
Contents?: true
Size: 364 Bytes
Versions: 126
Compression:
Stored size: 364 Bytes
Contents
# frozen_string_literal: true module GraphQL module Define module AssignGlobalIdField def self.call(type_defn, field_name) resolve = GraphQL::Relay::GlobalIdResolve.new(type: type_defn) GraphQL::Define::AssignObjectField.call(type_defn, field_name, type: GraphQL::ID_TYPE.to_non_null_type, resolve: resolve) end end end end
Version data entries
126 entries across 126 versions & 1 rubygems