We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc54154 commit 2c2f385Copy full SHA for 2c2f385
packages/platform-fastify/adapters/fastify-adapter.ts
@@ -760,6 +760,10 @@ export class FastifyAdapter<
760
handler: handlerRef,
761
};
762
763
+ if (this.instance.supportedMethods.indexOf(routerMethodKey) > -1) {
764
+ this.instance.addHttpMethod(routerMethodKey, { hasBody: true });
765
+ }
766
+
767
if (isVersioned || hasConstraints || hasConfig) {
768
const isPathAndRouteTuple = args.length === 2;
769
if (isPathAndRouteTuple) {
0 commit comments