-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
First pass at disabling force-fetch in SSR contexts #309
Conversation
This looks pretty good to me! |
Added tests, please take a look. |
@@ -879,4 +880,103 @@ describe('client', () => { | |||
}); | |||
}); | |||
}); | |||
|
|||
describe.only('forceFetch', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does describe.only do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops, just runs those tests.
Looks good to me! |
Hmm, and somehow I broke other tests, investigating. |
c867ec8
to
0bef530
Compare
Ok, this is working now. |
This is just a start in the direction of #298
If we think it's the right approach (modifying query options at the
ApolloClient
layer), then I'll add tests and turn it into a proper PR.TODO: