Sha256: b79073632b75f978c87a0b9e96b639ed10c767f592ad83d1c17d0351d0ec6d49
Contents?: true
Size: 715 Bytes
Versions: 6
Compression:
Stored size: 715 Bytes
Contents
# frozen_string_literal: true module Rails module GraphQL class Type # The introspection object for an enum value class Object::EnumValueObject < Object self.spec_object = true rename! '__EnumValue' desc <<~DESC One of the values of an Enum object. It is unique within the Enum set of values. It's a string representation, not a numeric representation, of a value kept as all caps (ie. ONE_VALUE). DESC field :name, :string, null: false field :description, :string field :is_deprecated, :boolean, null: false field :deprecation_reason, :string end end end end
Version data entries
6 entries across 6 versions & 1 rubygems