Sha256: 270e1c9e7aeadaa77ed8463a4d215227774e5f5030e6cae0e2a06ec944bc10a6
Contents?: true
Size: 645 Bytes
Versions: 1
Compression:
Stored size: 645 Bytes
Contents
# frozen_string_literal: true GraphQL::Directive::DeprecatedDirective = GraphQL::Directive.define do name "deprecated" description "Marks an element of a GraphQL schema as no longer supported." locations([GraphQL::Directive::FIELD_DEFINITION, GraphQL::Directive::ENUM_VALUE]) reason_description = "Explains why this element was deprecated, usually also including a "\ "suggestion for how to access supported similar data. Formatted "\ "in [Markdown](https://daringfireball.net/projects/markdown/)." argument :reason, GraphQL::STRING_TYPE, reason_description, default_value: GraphQL::Directive::DEFAULT_DEPRECATION_REASON end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
graphql-1.3.0 | lib/graphql/directive/deprecated_directive.rb |