Sha256: 8fe7bcf5d85aa20241396015d956ef8123cb6a19a1a1b3152d6f60fa08dfb0ee

Contents?: true

Size: 371 Bytes

Versions: 41

Compression:

Stored size: 371 Bytes

Contents

# frozen_string_literal: true

module Platform
  module Unions
    Account = GraphQL::UnionType.define do
      name "Account"
      description "Users and organizations."
      visibility :internal

      possible_types [
        Objects::User,
        Objects::Organization,
        Objects::Bot
      ]

      resolve_type ->(obj, ctx) { :stand_in }
    end
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
graphql-1.8.13 spec/fixtures/upgrader/account.original.rb
graphql-1.8.12 spec/fixtures/upgrader/account.original.rb
graphql-1.9.0.pre1 spec/fixtures/upgrader/account.original.rb
graphql-1.8.11 spec/fixtures/upgrader/account.original.rb
graphql-1.8.10 spec/fixtures/upgrader/account.original.rb
graphql-1.8.9 spec/fixtures/upgrader/account.original.rb
graphql-1.8.8 spec/fixtures/upgrader/account.original.rb
graphql-1.8.7 spec/fixtures/upgrader/account.original.rb
graphql-1.8.6 spec/fixtures/upgrader/account.original.rb
graphql-1.8.5 spec/fixtures/upgrader/account.original.rb
graphql-1.8.4 spec/fixtures/upgrader/account.original.rb
graphql-1.8.3 spec/fixtures/upgrader/account.original.rb
graphql-1.8.2 spec/fixtures/upgrader/account.original.rb
graphql-1.8.1 spec/fixtures/upgrader/account.original.rb
graphql-1.8.0 spec/fixtures/upgrader/account.original.rb
graphql-1.8.0.pre11 spec/fixtures/upgrader/account.original.rb
graphql-1.8.0.pre10 spec/fixtures/upgrader/account.original.rb
graphql-1.8.0.pre9 spec/fixtures/upgrader/account.original.rb
graphql-1.8.0.pre8 spec/fixtures/upgrader/account.original.rb
graphql-1.8.0.pre7 spec/fixtures/upgrader/account.original.rb