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
Add additional Cache significant properties from context like server extraCacheKeyData.
Use Case: There are at least two properties that are sent by headers and receive different data from GraphQL Server:
Example of usage: It needs to add somehow to cache lifecycle additional properties that affect cache data. Something like:
someCacheKeyExtendPlugin({ language: (context) => context.language, deviceType: (context) => context.deviceType, })
or
someCacheKeyExtendPlugin((context) => { language: context.language, deviceType: context.deviceType, })
Then if user change language, the data should be reloaded and show some sign of loading for UX.
The text was updated successfully, but these errors were encountered:
context.headers
+1
Sorry, something went wrong.
No branches or pull requests
Add additional Cache significant properties from context like server extraCacheKeyData.
Use Case:
There are at least two properties that are sent by headers and receive different data from GraphQL Server:
Example of usage:
It needs to add somehow to cache lifecycle additional properties that affect cache data.
Something like:
or
Then if user change language, the data should be reloaded and show some sign of loading for UX.
The text was updated successfully, but these errors were encountered: