Apollo-feature-requests: Feature idea: Allow bulk writeFragment updates

Created on 27 Jul 2018  路  3Comments  路  Source: apollographql/apollo-feature-requests

Migrated from: apollographql/apollo-client#2052

project-apollo-client

Most helpful comment

Are you planning to take on this? If yes, when?

All 3 comments

Are you planning to take on this? If yes, when?

^^^^^^

I found this issue in a search to figure out how to replace an array of cached GraphQL results instead of single, keyed items as Apollo seems to be assuming. I still don't know if this is a hard limitation on how Apollo works or if there is an awkward workaround. If it is the latter I can wrap it in a function.

If there is indeed a workaround that does leave the issue that it's not obvious from the outside why writing an array shouldn't work.

Was this page helpful?
0 / 5 - 0 ratings