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

Use onRequest instead of preHandler #26

Merged
merged 3 commits into from
Feb 28, 2019
Merged

Use onRequest instead of preHandler #26

merged 3 commits into from
Feb 28, 2019

Conversation

jsumners
Copy link
Member

Now that Fastify v2 exists, we can hook in at the correct part of the lifecycle. This PR does that.

@jsumners jsumners requested review from mcollina and a team and removed request for mcollina February 27, 2019 23:00
Copy link
Contributor

@cemremengu cemremengu 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
Copy link
Member

This change is semver-major.

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, even if I would be happier with a unit test

Copy link
Member

@delvedor delvedor left a comment

Choose a reason for hiding this comment

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

LGTM

Agree with @mcollina on the additional unit test and the cut of a semver-major.

@jsumners
Copy link
Member Author

It's unclear when I will be able to come back to this. Would anyone on the @fastify/core team be willing to carry this ball over the line? Sounds like a simple unit test would be necessary and then cutting a major release.

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.

4 participants