Sha256: ee6f88799249dc0a00b1ce69cfe6e2cd006ed9b9cc0c72dd1b4bc8dceff56c04
Contents?: true
Size: 670 Bytes
Versions: 101
Compression:
Stored size: 670 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 default_directive true end
Version data entries
101 entries across 101 versions & 1 rubygems