Sha256: 6a23492867f690006f8dffa7214218484d8b3e242719e5c5f1c2205612284fd6
Contents?: true
Size: 777 Bytes
Versions: 23
Compression:
Stored size: 777 Bytes
Contents
# frozen_string_literal: true module GraphQL class Schema class Directive < GraphQL::Schema::Member class Deprecated < GraphQL::Schema::Directive description "Marks an element of a GraphQL schema as no longer supported." locations(GraphQL::Schema::Directive::FIELD_DEFINITION, GraphQL::Schema::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, String, reason_description, default_value: Directive::DEFAULT_DEPRECATION_REASON, required: false default_directive true end end end end
Version data entries
23 entries across 23 versions & 1 rubygems