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

fix: check if Union type is optional during Encode #782

Closed
wants to merge 1 commit into from

Commits on Mar 9, 2024

  1. fix: check if Union type is optional during Encode

    Since the “optionality” of a Union type is not inherited by its anyOf types, we need to bail out on `undefined` values when the Union is optional.
    aleclarson committed Mar 9, 2024
    Copy the full SHA
    ca86795 View commit details
    Browse the repository at this point in the history