Skip to content

Support JSON Schema 2019-09 deprecated value#156

Description

@DamienGarrido

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the feature has not already been requested

馃殌 Feature Proposal

Add support to deprecated values as stated in the JSON Schema 2019-09 paragraph.

Motivation

Be able to deprecate properties without raw().

Example

S.object().prop('myDeprecatedProperty', S.string()).deprecated();

Current workaround:

S.object().prop('myDeprecatedProperty', S.string()).raw({ deprecated: true });

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions