Hi,
I have this id in my object:my_id = Column(BigInteger().with_variant(sqlite.INTEGER(), 'sqlite'), primary_key=True)
But in graphql schema I see JSONString
type instead of Int
.
I use flask-sqlalchemy, graphene-sqlalchemy and flask-graphene.
Solution for now is to add my_id = graphene.Int()
everywhere at SQLAlchemyObjectType
subclasses. But I don't like it as I have to remember it.
Whitout .with_variant(sqlite.INTEGER(), 'sqlite')
id type in schema becames Float
which is also not correct.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4