Since version 4.1.1 following error appeared in my projects:
[FSTDEP012] FastifyDeprecation: Request#context property access is deprecated. Please use "Request#routeConfig" or "Request#routeSchema" instead for accessing Route settings. The "Request#context" will be removed in fastify@5
It's connected to route body limit PR. Request#context field is deprecated. Direct usage of routeConfig works better.
Since version 4.1.1 following error appeared in my projects:
[FSTDEP012] FastifyDeprecation: Request#context property access is deprecated. Please use "Request#routeConfig" or "Request#routeSchema" instead for accessing Route settings. The "Request#context" will be removed in fastify@5
It's connected to route body limit PR. Request#context field is deprecated. Direct usage of routeConfig works better.