-
Notifications
You must be signed in to change notification settings - Fork 2k
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
cache control: defaultMaxAge shouldn't be applied if you use dynamic cache control #5488
Comments
glasser
added a commit
that referenced
this issue
Jul 16, 2021
This also gives resolvers the ability to differentiate between a `maxAge` that was explicitly set but happens to equal the default `maxAge` and one that was not explicitly set. Fixes #5488. Helpful for apollo/federation#870.
glasser
added a commit
that referenced
this issue
Jul 16, 2021
This also gives resolvers the ability to differentiate between a `maxAge` that was explicitly set but happens to equal the default `maxAge` and one that was not explicitly set. Fixes #5488. Helpful for apollo/federation#870.
Fix released in 3.0.1. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Specifically, you should be able to call
info.cacheControl.cacheHint.restrict
on a top-level field and have it do what you want. This is part of the new cache control logic in AS3 but is a bug that we should fix ASAP. See apollographql/federation#870The text was updated successfully, but these errors were encountered: