-
Notifications
You must be signed in to change notification settings - Fork 65
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
Breaking Change #81
Comments
Ohhh so the problem is with the two Do you happen to know if having the code in the state before your PR (i.e having 3 And if that is the case I guess we have only one valid option considering how reliant we are on zod. And that is to just bump up the zod peer dependency version. That would fix everything - we might need to release 4.0.0 but c'est la vie. However if passing 3 Do you have an answer/opinion on those two approaches? |
I had code with 3 |
See my comment at colinhacks/zod#1290 (comment) |
The new version of Zod also breaks with our old version so I guess we're kinda forced to do a breaking change anyway I guess. Stuck between a rock and a hard place 😆 |
@Naktibalda @samchungy thanks for confirming. I guessed so as well. Well then we'll do it. @samchungy do you have the capacity to open up a PR right now or should I do it in about an hour from now? |
Oops I accidentally shipped a breaking change, though Zod shipped the breaking change first 🤔
https://github.com/asteasolutions/zod-to-openapi/pull/78/files#diff-d8192a426c76954f6ca5af42fd2975758ff8e25940d33c3959c5317b4dabfb77R24
What should we do about it. If a consumer has lib check enabled and pulls the latest version of this library with an older version of Zod it'll complain.
The text was updated successfully, but these errors were encountered: