Skip to content
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

Change graphql fetch policy to network-only #203

Merged
merged 1 commit into from
Jul 4, 2019

Conversation

robinheinze
Copy link
Member

@robinheinze robinheinze commented Jul 3, 2019

The default cache-first policy meant that any subsequent requests to re-fetch the schedule weren't actually getting any new data.

I tried to use cache-and-network, but it doesn't work with the .query function, according to apollographql/apollo-client#3130

@robinheinze robinheinze requested a review from ryanlntn July 3, 2019 23:29
@robinheinze robinheinze merged commit 8361bfd into master Jul 4, 2019
@robinheinze robinheinze deleted the feature/graphql-fetch branch July 4, 2019 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants