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: fastify v3 compatibility #36
Conversation
Thanks for submitting this PR! I'll leave it in "waiting for review" state until Fastify v3 is released. Once this happens, it would make sense to have tests for both v2 and v3. |
@SimenB as Fastify v3 is now released, we can proceed with this PR. Could you update tests, so that they run against Fastify v2 and v3? It should be similar to how it's done for koa v1, but we can reuse the same test script as in case of Fastify the API is the same. It would be also nice to update documentation, so it mentions both v2 and v3. |
@puzpuzpuz updated. I removed the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done. Left a couple of documentation related comments.
Co-authored-by: Andrey Pechkurov <37772591+puzpuzpuz@users.noreply.github.com>
@SimenB many thanks for your contribution! |
For #35. Not including the test change that issue mentions as v3 is not stable yet, but I think this should work for both v2 and v3. I can confirm it works for v3 RC 4 (latest as of time of writing)