Sha256: b0f9872a96b13fe2e204f698bd99f4ac4f7775bfe928cdd9cda36e28cdb7cff7
Contents?: true
Size: 863 Bytes
Versions: 27
Compression:
Stored size: 863 Bytes
Contents
GraphQL::Introspection::DirectiveType = GraphQL::ObjectType.define do name "__Directive" description "A query directive in this schema" field :name, !types.String, "The name of this directive" field :description, types.String, "The description for this type" field :args, field: GraphQL::Introspection::ArgumentsField field :locations, !types[!GraphQL::Introspection::DirectiveLocationEnum] field :onOperation, !types.Boolean, "Does this directive apply to operations?", deprecation_reason: "Moved to 'locations' field", property: :on_operation? field :onFragment, !types.Boolean, "Does this directive apply to fragments?", deprecation_reason: "Moved to 'locations' field", property: :on_fragment? field :onField, !types.Boolean, "Does this directive apply to fields?", deprecation_reason: "Moved to 'locations' field", property: :on_field? end
Version data entries
27 entries across 27 versions & 1 rubygems