graphql-python / graphql-python/graphene-sqlalchemy

Support for Soft Delete?

Aberta
#256 2 comentários 3 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Python
Estrelas
985
Forks
223
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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?

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Start at graphene_sqlalchemy/utils.py around line 22 and trace how the query used for joins is built. The issue does not name a test file or settle an API, so first clarify the configurable soft-delete behavior and its scope; done means the agreed behavior is covered by tests.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
graphql, python, sqlalchemy
Domínio
api, database
Tipo de issue
Funcionalidade
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Estagnada
Clareza
Precisa de esclarecimento
Facilidade para iniciantes
25/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.