Skip to content

chore: update example ESM-plugin-with-custom-server-options.js#872

Open
Tony133 wants to merge 2 commits intofastify:mainfrom
Tony133:chore/update-example-package-type-module
Open

chore: update example ESM-plugin-with-custom-server-options.js#872
Tony133 wants to merge 2 commits intofastify:mainfrom
Tony133:chore/update-example-package-type-module

Conversation

@Tony133
Copy link
Member

@Tony133 Tony133 commented Mar 7, 2026

Proposal:

  • Update example ESM-plugin-with-custom-server-options.js

Fix the following deprecation warning:

(node:110) [FSTDEP022] FastifyWarning: The router options for constraints property access is deprecated. Please use "options.routerOptions" instead for accessing router options. The router options will be removed in fastify@6.

@Tony133 Tony133 force-pushed the chore/update-example-package-type-module branch from e7f4369 to ce99275 Compare March 7, 2026 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant