Skip to content

Investigate BigInt to float conversion for large numbers. #373

Open
@erikwrede

Description

@erikwrede

BigInt types from the DB are currently converted to float in the GQL schema. We should investigate whether the 64-bit limit for python float poses a problem here, and whether or not it's better to switch to a different type.

Source: #371

maybe a bit off topic here, but wondering about the choice of BigInteger->Float. assume this would break down after 64 bits. any plans for graphql-core to provide a BigInt type like this?

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