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

Restore existing type inference behaviour of z.ZodObject #1122

Merged
merged 2 commits into from May 12, 2022

Commits on May 9, 2022

  1. Fix addQuestionsMarks so it resolves correctly in more cases

    Fixes this issue: colinhacks#1121
    
    Specifically, `{ property: (T | undefined) & T }` does not seem to
    flatten to `{ property: T }` in the case that T is a complex string literal.
    bentefay committed May 9, 2022
    Configuration menu
    Copy the full SHA
    0aba4d1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e967932 View commit details
    Browse the repository at this point in the history