fastify / fastify/help

(node:8) [FSTDEP019] FastifyDeprecation

Open
#992 7 comments 2 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
68
Forks
8
Avg merge
11h 2m
Merged PRs (30d)
2

Description

Seeing deprecation issues as pointed by FSTDEP019
https://fastify.dev/docs/latest/Reference/Warnings/#FSTDEP019
(node:8) [FSTDEP019] FastifyDeprecation

here message
(node:8) [FSTDEP019] FastifyDeprecation: reply.context property access is deprecated. Please use "reply.routeOptions.config" or "reply.routeOptions.schema" instead for accessing Route settings. The "reply.context" will be removed in `fastify@5`.

#### Context
fastify current version - 4.26.0

Tried disabling by these but no luck.
passing the --no-warnings flag to the node process
setting 'no-warnings' in the NODE_OPTIONS environment variable

any suggestion how to over come these deprecated messages ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.