-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Update to GraphQL Playground latest. #1855
Conversation
In addition to updating the `@apollographql/graphql-playground-html` fork, which is necessary to avoid bundling `graphql-config` which had been problematic in serverless environments, this updates the version number which is served from the CDN. I've just published `@apollographql/graphql-playground-html@1.6.4`. Ref: #1746 Ref: apollographql/graphql-playground#2 Ref: apollographql/graphql-playground#1 Thanks for @javlund for kicking off some of this work!
@abernix Happy to help! :) |
It's worth pointing out some subtle nuances in versioning between the various GraphQL Playground integrations (e.g. Electron, React, HTML) that might be interpreted incorrectly here. From best I can tell, this PR updates GraphQL Playground to the latest possible version for the needs of Apollo Server so I've updated the title of this PR accordingly. Here's a quick look at the
As noted above, we're using a fork of So the relevant versions from above are:
|
const playgroundVersion = '1.7.8'; |
graphql-playground-electron
: 1.8.0
This isn't actually relevant to Apollo Server at all, but I'm pointing it out because it's what their repository lists as the "latest" version on their releases page and it's worth demonstrating why the apparent version discrepancy exists, primarily for the sake of prosperity and the next person who updates this:
It's actually the version of `graphql-playground-react` which is getting served by `graphql-playground-html`.
6b84bcf
to
9130b8c
Compare
This should be released as |
My apologies in advance my native language is not english, I would like to know if it is possible or not to use offline playground, I did what I described here Apollo Offline and even then I do not get results, my apollo-server version is 2.3.1 and it was said that it would be for version 2.2 if I have skipped something, please light me, thank you |
In addition to updating the
@apollographql/graphql-playground-html
fork,which is necessary to avoid bundling
graphql-config
which had beenproblematic in serverless environments, this updates the version number
which is served from the CDN.
I've just published
@apollographql/graphql-playground-html@1.6.4
.Closes: #1746
Ref: apollographql/graphql-playground#2
Ref: apollographql/graphql-playground#1
Thanks for @javlund for kicking off some of this work!