Skip to content

Deprecation warning description in README.md in fastify.listen #96

@phasetr

Description

@phasetr

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the issue has not already been raised

Issue

In the newest README.md, we have a description fastify.listen(3000, err => {, but this leads a deprecation warning, like

FastifyDeprecation: Variadic listen method is deprecated. Please use ".listen(optionsObject)" instead. The variadic signature will be removed in fastify@5.

This should be fastify.listen({ port: 3000 }, err => {.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions