graphql-python / graphene-sqlalchemy

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

Requiring graphene_type for custom filters as well as type hints #406

Closed adiberk closed 3 months ago

adiberk commented 3 months ago

I don't fully understand why when creating a filter we need to provide a graphene_type. If we are filtering on a specific field, why not just pass in the value being used to filter and the type based on the column being filtered

adiberk commented 3 months ago

I miss-understood the use of graphene_type.