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
@graphql-yoga/plugin-response-cache
enabled(request) => false
Yoga plugin-response-cache is writing to cache even for disabled requests (those that evaluate to enabled(request) => false)
https://codesandbox.io/p/sandbox/awesome-lamarr-8st89p
enabled() => false
As a user, when I make a query where response cache plugin is disabled (enabled() => false) I expect that cache get and set are NOT invoked!
N/A
@envelop/response-cache
graphql-yoga
No response
The text was updated successfully, but these errors were encountered:
Related n1ru4l/envelop#1963
Sorry, something went wrong.
This is now working, verified with updated dependencies in a fork code sandbox here
EmrysMyrddin
ardatan
No branches or pull requests
Describe the bug
Yoga plugin-response-cache is writing to cache even for disabled requests (those that evaluate to
enabled(request) => false
)Your Example Website or App
https://codesandbox.io/p/sandbox/awesome-lamarr-8st89p
Steps to Reproduce the Bug or Issue
enabled() => false
)Expected behavior
As a user, when I make a query where response cache plugin is disabled (
enabled() => false
) I expect that cache get and set are NOT invoked!Screenshots or Videos
N/A
Platform
@envelop/response-cache
: 5.3.2@graphql-yoga/plugin-response-cache
: 2.2.0graphql-yoga
: 4.0.5Additional context
No response
The text was updated successfully, but these errors were encountered: