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.18 spec/fixtures/upgrader/account.original.rb
graphql-1.9.11 spec/fixtures/upgrader/account.original.rb
graphql-1.9.10 spec/fixtures/upgrader/account.original.rb
graphql-1.9.9 spec/fixtures/upgrader/account.original.rb
graphql-1.9.8 spec/fixtures/upgrader/account.original.rb
graphql-1.9.7 spec/fixtures/upgrader/account.original.rb
graphql-1.9.6 spec/fixtures/upgrader/account.original.rb
graphql-1.9.5 spec/fixtures/upgrader/account.original.rb
graphql-1.9.4 spec/fixtures/upgrader/account.original.rb
graphql-1.9.3 spec/fixtures/upgrader/account.original.rb
graphql-1.9.2 spec/fixtures/upgrader/account.original.rb
graphql-1.8.17 spec/fixtures/upgrader/account.original.rb
graphql-1.8.16 spec/fixtures/upgrader/account.original.rb
graphql-1.9.1 spec/fixtures/upgrader/account.original.rb
graphql-1.9.0 spec/fixtures/upgrader/account.original.rb
graphql-1.8.15 spec/fixtures/upgrader/account.original.rb
graphql-1.9.0.pre4 spec/fixtures/upgrader/account.original.rb
graphql-1.8.14 spec/fixtures/upgrader/account.original.rb
graphql-1.9.0.pre3 spec/fixtures/upgrader/account.original.rb
graphql-1.9.0.pre2 spec/fixtures/upgrader/account.original.rb