[Modern] Adding edges to a filtered (sorted) connection
Open
enhancement
wontfix
- Dominant language
- Rust
- Stars
- 19k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
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?
Contributor guide
Assessment
This issue has not been assessed yet.