Sha256: 56c984a2d47a76559c14886934580e1103fc5d2e65da9d5862a3f137a7e791b6
Contents?: true
Size: 505 Bytes
Versions: 18
Compression:
Stored size: 505 Bytes
Contents
# A collection of {ObjectType}s # # @example a union of types # # PetUnion = GraphQL::UnionType.define do # name "Pet" # description "Animals that live in your house" # possible_types [DogType, CatType, FishType] # end # class GraphQL::UnionType < GraphQL::BaseType include GraphQL::BaseType::HasPossibleTypes attr_accessor :name, :description, :possible_types defined_by_config :name, :description, :possible_types, :resolve_type def kind GraphQL::TypeKinds::UNION end end
Version data entries
18 entries across 18 versions & 1 rubygems