Sha256: 40389f00ee830a324fd50f3f5c2d6f452b13e38dc9485d8decda4c95c9c5dd73
Contents?: true
Size: 569 Bytes
Versions: 4
Compression:
Stored size: 569 Bytes
Contents
GraphQL::Introspection::EnumValueType = GraphQL::ObjectType.define do name "__EnumValue" description "One possible value for a given Enum. Enum values are unique values, not a "\ "placeholder for a string or numeric value. However an Enum value is returned in "\ "a JSON response as a string." field :name, !types.String field :description, types.String field :isDeprecated, !types.Boolean do resolve -> (obj, a, c) { !!obj.deprecation_reason } end field :deprecationReason, types.String, property: :deprecation_reason end
Version data entries
4 entries across 4 versions & 1 rubygems