graphql-python / graphql-python/graphene-sqlalchemy
Investigate BigInt to float conversion for large numbers.
- Linguagem predominante
- Python
- Estrelas
- 985
- Forks
- 223
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
`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)?
Guia de contribuição
Direção de pesquisa
Rastreie como os valores BigInt do banco de dados são convertidos para Float no schema GraphQL e, em seguida, revise a issue de origem #371. Investigue se valores grandes excedem o limite declarado de Python float e determine se é necessário mudar para outro tipo GraphQL; a conclusão significa documentar as descobertas e uma decisão sobre o tipo.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- graphql, python, sqlalchemy
- Domínio
- api, database
- Tipo de issue
- Funcionalidade
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Status de atividade
- Estagnada
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 25/100