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

Make ResolveFastifyReplyType union-aware #4164

Merged
merged 1 commit into from
Jul 31, 2022

Conversation

cm-ayf
Copy link
Contributor

@cm-ayf cm-ayf commented Jul 31, 2022

Along with #4076, fixed a problem that when union type passed as Reply to RouteGeneric.

This fix revealed that the test added in #4089, and includes fix for that.

Checklist

@github-actions github-actions bot added the typescript TypeScript related label Jul 31, 2022
Copy link
Member

@RafaelGSS RafaelGSS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Good catch!

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcollina mcollina merged commit 5bd6eec into fastify:main Jul 31, 2022
@cm-ayf cm-ayf deleted the union-aware-reply-resolver branch July 31, 2022 20:36
@github-actions
Copy link

github-actions bot commented Aug 1, 2023

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
typescript TypeScript related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants