graphql-python / graphql-python/graphene-sqlalchemy

Investigate BigInt to float conversion for large numbers.

Ouverte
#373 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
:eyes: more info needed
Langage dominant
Python
Étoiles
985
Forks
223
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

`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](https://www.npmjs.com/package/graphql-bigint)?

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.