-
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
Server 2.0: Error: Cannot read property 'setCacheHint' of undefined #1201
Comments
Ah yes! Thank you for opening the issue. Under the hood we are using |
We've released RC.1, which solves the issue of cacheControl being undefined. Definitely caused by |
@evans how are you doing? I am using this version + When I remove the |
I was also facing this. Turns out that it's the |
Hi, |
@Aviral-swa Is it possible that this is the same as the issue described at #4810 (comment) ? |
I had the same issue. The |
Hi,
trying to set cache programatically in my resolver, using latest apollo-server-express rc.0, the info parameter doesn't contain cacheControl:
Error: Cannot read property 'setCacheHint' of undefined
https://www.apollographql.com/docs/engine/caching.html#resolver-hints
The text was updated successfully, but these errors were encountered: