Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add field of custom data to local cache only #509

Open
danielRi opened this issue Apr 17, 2023 · 1 comment
Open

Add field of custom data to local cache only #509

danielRi opened this issue Apr 17, 2023 · 1 comment

Comments

@danielRi
Copy link

Hi,

pardon me if this is nonsense what I want to achieve, I havent find a solution in the docs.

I have a GraphQL API I load data remotely from, but I want to add local key/values to the loaded objects after the data is loaded. These fields I also want to update locally only. I thought I can achieve this with writeFragment or UpdateCacheHandler, but it seems Im stuck.

Is this even possible or feasible?

Thanks a lot for any input!
Daniel

@danielRi danielRi changed the title Add field to local cache only Add field of custom data to local cache only Apr 17, 2023
@tpucci
Copy link
Contributor

tpucci commented Feb 23, 2024

Indeeed, it would be great to have something like that

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

No branches or pull requests

2 participants