Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support nullable #535

Closed
wants to merge 9 commits into from
Closed

Support nullable #535

wants to merge 9 commits into from

Commits on Apr 17, 2023

  1. Support nullable

    jackfrankland committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    9f42f43 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2023

  1. Configuration menu
    Copy the full SHA
    f4fbe87 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2023

  1. Support nullable (revisions)

    - Add handling for enum, anyOf, and oneOf
    - So long as the order of normalizers is maintained, no handling for
      const is necessary
    - Add additional tests
    mdmower committed Jul 2, 2023
    Configuration menu
    Copy the full SHA
    ad4ee38 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2023

  1. Support nullable (revisions)

    - Update log message
    - Support schema.const in case transforms are reordered in the future
    mdmower committed Oct 7, 2023
    Configuration menu
    Copy the full SHA
    6982494 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    84cff45 View commit details
    Browse the repository at this point in the history
  3. Support nullable (revisions)

    - Apply new prettier styles
    mdmower committed Oct 7, 2023
    Configuration menu
    Copy the full SHA
    061ad03 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2023

  1. (Revisions) Support nullable

    - Introduce warning() to output console warnings
    - Add warning for nullable const, where const value is not null
    - Move nullable transform before const->enum transform so that potential
      warning about nullable const can display
    - Remove anyOf and oneOf handling since JSON spec should only constrain
      possibilities, not expand (allowance made for enum and const to expand
      types but they show warnings when this happens).
    - Avoid pushing 'null' onto available types if it already exists.
    mdmower-csnw authored and mdmower committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    42f3676 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2024

  1. Configuration menu
    Copy the full SHA
    caf143c View commit details
    Browse the repository at this point in the history

Commits on May 23, 2024

  1. Configuration menu
    Copy the full SHA
    988a6f4 View commit details
    Browse the repository at this point in the history