We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is it possible to not persist local-only fields (@client) in the persisted cache?
@client
See more: https://www.apollographql.com/docs/react/local-state/managing-state-with-field-policies/
The text was updated successfully, but these errors were encountered:
same here.
Sorry, something went wrong.
Hello!
I believe we don't have any specific support for local-only fields. Does the result of your field's policy read() function get persisted?
read()
There was a custom Persistence Mapper example that modfied the cache behaviour based on query directives. You could take inspiration from there.
I could have a look if you provide a minimal reproduction.
Forgive my foolish here. What I meant was Persist @client field.
No branches or pull requests
Is it possible to not persist local-only fields (
@client
) in the persisted cache?See more: https://www.apollographql.com/docs/react/local-state/managing-state-with-field-policies/
The text was updated successfully, but these errors were encountered: