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

Query param for Url #8

Open
mijaelcohen opened this issue Sep 30, 2021 · 2 comments
Open

Query param for Url #8

mijaelcohen opened this issue Sep 30, 2021 · 2 comments

Comments

@mijaelcohen
Copy link

this project is awesome but its tedius to add the url by hand each time I use it.
would be great to be a query parameter (i got this in my bookmark)

@iwconfig
Copy link

iwconfig commented Dec 8, 2021

Yep, really annoying actually. It's a shame #1 never got merged.

@iwconfig
Copy link

iwconfig commented Dec 8, 2021

I modified graphiql-online.js in gh-pages branch to work with url search params.

I don't know anything about React so maybe I missed something or if it's supposed to generate the graphiql-online.js file or whatever so I'm leaving the changes in my own fork for now instead of issuing a PR to upstream.

https://iwconfig.github.io/graphiql-online/?endpoint=https://whatever

update

  • Also added query and variables parameters,
  • and now endpoint is saved to localStorage as well.

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

No branches or pull requests

2 participants