graphql-python / graphql-python/graphene-sqlalchemy

Support for Soft Delete?

未关闭
#256 2 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
985
派生
223
PR 合并指标
30 天内没有已合并 PR

描述

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?

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。