graphql-python / graphql-python/graphene-sqlalchemy

Investigate BigInt to float conversion for large numbers.

未关闭
#373 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
:eyes: more info needed
主要语言
Python
星标
985
派生
223
PR 合并指标
30 天内没有已合并 PR

描述

`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)?

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。