Skip to content

(node:8) [FSTDEP019] FastifyDeprecation  #992

@suryalokhande

Description

@suryalokhande

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions