graphql-python / graphql-python/graphene-sqlalchemy

Support for Soft Delete?

オープン
#256 コメント 2 件 リアクション 3 件 担当者 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 を短くまとめたダイジェスト。