art1415926535 / graphene-sqlalchemy-filter

Filters for Graphene SQLAlchemy integration
https://pypi.org/project/graphene-sqlalchemy-filter/
MIT License
118 stars 34 forks source link

Makes FilterSet.aliased method compatible with SQLAlchemy 1.4 #54

Closed davidcim closed 3 years ago

davidcim commented 3 years ago

If the Query._join_entities attribute doesn't exist, it's assumed that we are in version 1.4 and the current join aliases are obtained through Query._compile_state()._join_entities.

fixes #53