fastify / fastify/help

`[FSTDEP017] [FSTDEP018]` How can I hide/solve these logs

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

Description

### Prerequisites

- [X] I have written a descriptive issue title
- [x] I have searched existing issues to ensure the issue has not already been raised

### Issue

version `fastify 4.24.3`

I have this two logs that come regurlaly in my app:

```
(node:1) [FSTDEP017] FastifyDeprecation: You are accessing the deprecated "request.routerPath" property. Use "request.routeOptions.url" instead. Property "req.routerPath" will be removed in `fastify@5`.
(node:1) [FSTDEP018] FastifyDeprecation: You are accessing the deprecated "request.routerMethod" property. Use "request.routeOptions.method" instead. Property "req.routerMethod" will be removed in `fastify@5`
```

I have no idea about what I can do to solve or hide these logs since I don't use `routerPath` or `routerMethod` in my code.

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.