Skip to content
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.

Verify whether resolvers cover all use-cases #129

Open
kitten opened this issue Dec 12, 2019 · 1 comment
Open

Verify whether resolvers cover all use-cases #129

kitten opened this issue Dec 12, 2019 · 1 comment

Comments

@kitten
Copy link
Member

kitten commented Dec 12, 2019

We'd like to collect more use-cases for resolvers. Right now we have some out of the box patterns, relayPagination and simplePagination, but we haven't explored all possible cases in which resolvers may make sense.

As part of this task we'd like to explore more use-cases and ensure that all possible GraphQL cache resolvers that can be implemented with other clients, can be implemented with Graphcache

@JoviDeCroock
Copy link

A use case I've found for updates where we could be lacking if we for instance have two lists:

Todos({ filter: 'x', from: 0, limit: 10 }) and Todos({ filter: 'y', from: 0, limit: 10 })

If we now execute deleteTodo how would we delete something in both of these lists?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants