graphql-python / graphql-python/graphene-sqlalchemy

Support for Soft Delete?

Đang mở
#256 2 bình luận 3 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
985
Fork
223
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.