graphql-python / graphql-python/graphene-sqlalchemy
Support for Soft Delete?
Open
- Dominant language
- Python
- Stars
- 985
- Forks
- 223
- PR merge metrics
- No merged PRs in 30d
Description
Is there any possibility we can add a feature that allows for soft deletes to be ignored?
https://github.com/graphql-python/graphene-sqlalchemy/blob/db3e9f4c3baad3e62c113d4a9ddd2e3983d324f2/graphene_sqlalchemy/utils.py#L22
I am about to fork this repo so I can add a filter to the query `filter(delete_dt=None)` and that seems like overkill to just add that one line. Is there a simpler way to filter my joins, or potentially a patch we could introduce?
Contributor guide
Assessment
This issue has not been assessed yet.