Skip to content

Do not save introspectionQuery results in the cache#273

Merged
jcreighton merged 1 commit intomasterfrom
fix-schema-inclusion
Jun 2, 2020
Merged

Do not save introspectionQuery results in the cache#273
jcreighton merged 1 commit intomasterfrom
fix-schema-inclusion

Conversation

@jcreighton
Copy link
Copy Markdown
Contributor

@jcreighton jcreighton commented Jun 2, 2020

Previously, we did not pass the fetchPolicy through to the cache replica, which results in the introspection query being saved to the cache. These queries could be large enough to slow down or crash the devtools.

Fixes #271 and #231.

@jcreighton jcreighton force-pushed the fix-schema-inclusion branch 2 times, most recently from 970cc0a to d1bce7c Compare June 2, 2020 00:52
@jcreighton jcreighton force-pushed the fix-schema-inclusion branch from d1bce7c to e01b361 Compare June 2, 2020 00:54
@jcreighton jcreighton requested review from benjamn and hwillson June 2, 2020 00:55
Copy link
Copy Markdown
Member

@hwillson hwillson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome @jcreighton, looks great - thanks very much!

@jcreighton jcreighton merged commit 6cf895a into master Jun 2, 2020
@jcreighton jcreighton deleted the fix-schema-inclusion branch June 2, 2020 16:59
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.

Cache tab freezes and crashed

2 participants