Sha256: 62849b33ece783703033896882d7e286c84a22596b3d9dcb5dc5f8b191591528
Contents?: true
Size: 374 Bytes
Versions: 50
Compression:
Stored size: 374 Bytes
Contents
# frozen_string_literal: true module GraphQL module Types module Relay module NodeBehaviors def self.included(child_module) child_module.extend(DefaultRelay) child_module.description("An object with an ID.") child_module.field(:id, ID, null: false, description: "ID of the object.") end end end end end
Version data entries
50 entries across 50 versions & 2 rubygems