Skip to content

Error in fastify integration documentation example #3763

Open
@Fenykepy

Description

@Fenykepy

Describe the bug

I found an error in fastify integration documentation:
https://github.com/dotansimha/graphql-yoga/blob/main/website/src/content/docs/integrations/integration-with-fastify.mdx

app.listen(4000) needs to be replaced by app.listen({ port: 4000}).
I know it's not a big deal but it could help some beginners (like me).

Your Example Website or App

none

Steps to Reproduce the Bug or Issue

none

Expected behavior

Updated documentation.

Screenshots or Videos

No response

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • NodeJS: [e.g. 18.1.0]
  • @graphql-yoga/* version(s): [e.g. 2.5.1]

Additional context

No response

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