Skip to content

Support JSON Schema 2019-09 deprecated value #156

Open
@DamienGarrido

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 });

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