[Modern] Adding edges to a filtered (sorted) connection
Abierto
enhancement
wontfix
- Lenguaje dominante
- Rust
- Estrellas
- 19k
- Forks
- 1.9k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Let's say I have a refetchContainer containing the following:
`tasks(
first: 10000
limit: $limit
page: $page
filterBy: $filterBy
orderBy: $orderBy
) @connection(
key: "Tasks_tasks"
filters: ["limit", "page", "filterBy", "orderBy"]
) {
...
}
`
Then I perform a mutation that adds a `task` and I'm able to get the `connection` in my shared updater but how can I insert the new edge into the correct position since the `insertEdge*` methods only append to beginning/end? What's the standard practice here?
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.