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

Gracefully handle checkVersions network error #201

Conversation

mjlyons
Copy link
Contributor

@mjlyons mjlyons commented May 8, 2019

Apollo Dev Tools is failing to initialize for me because my site's CSP settings block the checkVersions() request (to https://devtools.apollodata.com/graphql).

This change allows init() to proceed if the checkVersions network request fails.

I've verified that Apollo Dev Tools starts working with the patch by building the extension locally.

@apollo-cla
Copy link

@mjlyons: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Meteor Contributor Agreement here: https://contribute.meteor.com/

Copy link
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.

Great idea - thanks @mjlyons!

@hwillson hwillson merged commit 06a6f17 into apollographql:master May 31, 2019
woahitsraj pushed a commit to woahitsraj/apollo-client-devtools that referenced this pull request Oct 15, 2019
* Gracefully handle checkVersions network error

* Slight wording tweak

* Changelog update
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.

3 participants