Sha256: 1b843dbe109fc99f5af93e095fdf3654065dc29f6d6bb2bd8cdc76db7f917d06
Contents?: true
Size: 334 Bytes
Versions: 14
Compression:
Stored size: 334 Bytes
Contents
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
14 entries across 14 versions & 1 rubygems