Skip to content

Support for bigint #278

@Forceres

Description

@Forceres

Prerequisites

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

Fastify version

5.6.1

Plugin version

8.2.0

Node.js version

22.18.0

Operating system

Linux

Operating system version (i.e. 20.04, 11.3, 10)

ArchLinux

Description

If you pass the object with bigint values, it gives you an error.

Link to code that reproduces the bug

/

Expected Behavior

Successfully serialize bigint.
You can use replacer for JSON.stringify at least.

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