@nestjs/platform-fastify doest not work with fastify@4.2.0 with unordered routes #9914
Closed
3 of 15 tasks
Labels
needs triage
This issue has not been looked into
Is there an existing issue for this?
Current behavior
When a
@Get
method appears before a@Head
method, anFST_ERR_DUPLICATED_ROUTE
will be thrown.Minimum reproduction code
https://codesandbox.io/s/awesome-platform-vee6xg
Steps to reproduce
No response
Expected behavior
It should work as before.
Package
@nestjs/common
@nestjs/core
@nestjs/microservices
@nestjs/platform-express
@nestjs/platform-fastify
@nestjs/platform-socket.io
@nestjs/platform-ws
@nestjs/testing
@nestjs/websockets
Other package
fastify
NestJS version
9.0.2
Packages versions
Node.js version
14.18.1
In which operating systems have you tested?
Other
fastify/fastify#4052 (comment)
The text was updated successfully, but these errors were encountered: