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

[GraphQL] Add graphiql-explorer #2951

Closed

Conversation

alanpoulain
Copy link
Member

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR

Add https://github.com/OneGraph/graphiql-explorer to the GraphiQL view.

I needed to make some tweaks to graphiql-explorer in order to make it work: OneGraph/graphiql-explorer#22

We should probably wait for them to merge this PR. If we bump the JS dependencies, it will not work anymore.

graphiql-explorer

@lukasluecke
Copy link
Contributor

Another possibility would be to do it the way they do it in their "self-hosted" example (https://github.com/OneGraph/graphiql-explorer-example/blob/master/src/App.js) - just storing the schema in a state variable, which the fetcher updates. Just in case they don't merge the PR 😉

@alanpoulain
Copy link
Member Author

@lukasluecke Yes I know but the issue here is that you need to use the graphql package if you do it that way. And there is no minified version of it: you have to use it in a Webpack context, which is not our case (it would require some work to introduce it).

@alanpoulain alanpoulain force-pushed the graphql-graphiql-explorer branch from 303a297 to 4d39d8b Compare July 29, 2019 16:24
@alanpoulain alanpoulain force-pushed the graphql-graphiql-explorer branch from 4d39d8b to 0447b52 Compare July 30, 2019 08:31
Base automatically changed from master to main January 23, 2021 21:59
@stale
Copy link

stale bot commented Nov 5, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Nov 5, 2022
@stale
Copy link

stale bot commented Jan 4, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jan 4, 2023
@stale stale bot closed this Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants