Skip to content

Creating/editing a species and giving it a body_mass value of type BigInt throws error 400 #1219

Description

@juhanikat

I'm unsure exactly where the problem is, but I found this out while trying to create a new species with a BigInt body_mass value in species merge tests (backend/api_tests/species/merge.test.ts).

Not a big issue, but seems odd since the body_mass is a BigInt in the database schema. This might happen because the backend expects a number and tries to convert the value to BigInt.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions