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

Added Apollo's Explorer Sandbox interface #282

Conversation

rwillians
Copy link

Playground project has been deprecated in Dec 2022 giving space to Apollo's Explorer embedded Sandbox (free -- no account required).

In this PR:

  • Added support for Apollo's Explorer Sandbox interface (:apollo_explorer_sandbox) and updated docs;
  • Minor refac on Absinthe.Plug.GraphiQL's private functions;
  • Bumped absinthe_plug version from 1.5.8 to 1.6.0.

@rwillians rwillians force-pushed the add-apollo-explorer-sandbox-interface branch from 6f2bf1f to 674a15e Compare April 10, 2023 23:36
@rwillians
Copy link
Author

rwillians commented Oct 5, 2023

Apollo Explorer Sandbox isn't working locally for subscriptions anymore -- using websockets in general.

The root cause seems to be associated to the fact that the Origin in the upgrade request is an Apollo hostname and, since the local environment isn't server using SSL (who uses SSL locally??), the browser (chromium-based in my case) aborts the request before it even hits the server.

No to mention the Sandbox tracks a lot of data, which isn't nice.

For those reasons, I'm closing my PR.
For whoever interests in using Apollo Sandbox despite of those reason, you can use it from https://studio.apollographql.com/sandbox/explorer/

@rwillians rwillians closed this Oct 5, 2023
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.

1 participant