Closed gjuchault closed 2 years ago
The issue with tests seems to come from the fact that onRoute
is only called with the HEAD
method, and not with the GET
one. What's weird is this happens even when giving exposeHeadRoutes: false
to fastify' settings
@HW13 Nice catch. How did you get the idea? Is it a breaking change in fastify v4?
Hello!
Fastify just released their version 4, so here's the update in this package.
I also upgraded
engines.node
to v14 (in Github Actions as well) as I think fastify started to use Optional chaining operator, introduced in node 14.3 tests are failing with wrapRoutes, so I'm investigating them at the moment