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

Change onresponse contract to allow request, reply, and res. #43

Merged
merged 2 commits into from
Feb 10, 2019

Conversation

thejones
Copy link
Contributor

@thejones thejones commented Feb 9, 2019

This is my attempt to allow replyOptions to work in fastify-http-proxy. The PR in question is here: fastify/fastify-http-proxy#34

The only way that I am able to get this to work is to change the contract in fastify-reply-from so that request, reply, res are all available. If this is acceptable let me know and I will update the other reply with the appropriate test.

Thanks again!

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants