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 createParamOrRef #336

Merged
merged 2 commits into from
Oct 8, 2024
Merged

Fix createParamOrRef #336

merged 2 commits into from
Oct 8, 2024

Conversation

samchungy
Copy link
Owner

@samchungy samchungy commented Oct 8, 2024

This one slipped through unintentionally as a breaking change:
https://github.com/samchungy/zod-openapi/pull/330/files#diff-ddd2a05e83d80d4b6e2db78d84993a94c09f9c56b563abbb6e3de61b422f7f38R132

samchungy/fastify-zod-openapi#166
samchungy/fastify-zod-openapi#165

TODO: Some unit tests should have broken... Clearly missing something here and definitely due for a re-write especially with 3 optionals...

@samchungy samchungy added the bug Something isn't working label Oct 8, 2024
@samchungy samchungy merged commit 5671f22 into master Oct 8, 2024
1 check passed
@samchungy samchungy deleted the fix-createParamOrRef branch October 8, 2024 23:26
@github-actions github-actions bot mentioned this pull request Oct 8, 2024
@mdoi2
Copy link
Contributor

mdoi2 commented Oct 9, 2024

@samchungy
I apologize for any trouble my inadequacies have caused. 💦
I should have at least added the optional argument at the end instead of in between.
If there is anything I can do to help, please point it out.

@samchungy
Copy link
Owner Author

samchungy commented Oct 9, 2024

@samchungy I apologize for any trouble my inadequacies have caused. 💦 I should have at least added the optional argument at the end instead of in between. If there is anything I can do to help, please point it out.

No problemo, I didn't catch it tbh. No need to do anything, there's also poor test coverage for it so that's more my fault.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants