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

Version Path
graphql-1.13.23 lib/graphql/types/relay/node_behaviors.rb
graphql-1.13.22 lib/graphql/types/relay/node_behaviors.rb
graphql-1.13.21 lib/graphql/types/relay/node_behaviors.rb
graphql-1.13.20 lib/graphql/types/relay/node_behaviors.rb
graphql-1.13.19 lib/graphql/types/relay/node_behaviors.rb
graphql-1.13.18 lib/graphql/types/relay/node_behaviors.rb
graphql-1.13.17 lib/graphql/types/relay/node_behaviors.rb
graphql-1.13.16 lib/graphql/types/relay/node_behaviors.rb
graphql-1.13.15 lib/graphql/types/relay/node_behaviors.rb
graphql-1.13.14 lib/graphql/types/relay/node_behaviors.rb
graphql-1.13.13 lib/graphql/types/relay/node_behaviors.rb
graphql_cody-1.13.0 lib/graphql/types/relay/node_behaviors.rb
graphql-1.13.12 lib/graphql/types/relay/node_behaviors.rb
graphql-1.13.11 lib/graphql/types/relay/node_behaviors.rb
graphql-1.13.10 lib/graphql/types/relay/node_behaviors.rb
graphql-1.13.9 lib/graphql/types/relay/node_behaviors.rb
graphql-1.12.24 lib/graphql/types/relay/node_behaviors.rb
graphql-1.13.8 lib/graphql/types/relay/node_behaviors.rb
graphql-1.13.7 lib/graphql/types/relay/node_behaviors.rb
graphql-1.13.6 lib/graphql/types/relay/node_behaviors.rb