graphql-python / graphene-sqlalchemy

Graphene SQLAlchemy integration
http://docs.graphene-python.org/projects/sqlalchemy/en/latest/
MIT License
974 stars 225 forks source link

Conversion of BigInteger primary keys to ID #410

Open c8y3 opened 3 months ago

c8y3 commented 3 months ago

I find myself in a situation where some of the database primary keys are of the type BigInteger. In this case, rather than Float, shouldn't the type be converted to ID! (like is the case for Integer, see https://github.com/graphql-python/graphene-sqlalchemy/blob/v3.0.0rc1/graphene_sqlalchemy/converter.py#L450)?

I believe this issue is related to #247 and #102.