-
Notifications
You must be signed in to change notification settings - Fork 136
Add GraphiQL support #26
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
Conversation
This seems nice. Please do merge. |
I resolved the problems mentioned above and added tests so I think this can be merged now. |
@sogko, can you please comment or merge? |
Added comment here. No respond yet. |
where can the ui be reached? i'm going to |
@klud1, it's at the same URL where your graphql endpoint is. If you reach it with a browser, it will return the GraphiQL GUI. |
Alright, it's working! Thanks, awesome work! Hope this gets merged asap so i don't have to tweak my build process in order to get these changes. |
LGTM 👍 — this is really awesome, thanks a lot @mastertinner! 🚢 |
Thanks for merging, @chris-ramon! Could you create a new release |
Sure thing!, https://github.com/graphql-go/handler/releases/tag/v0.2.0 |
Nice! Thanks, @chris-ramon! |
I took the template from https://github.com/graphql/express-graphql/blob/master/src/renderGraphiQL.js and go-ified it.
@sogko and others: Please let me know what you think.
If you like it, I'll add the necessary tests and make the code cleaner.
I've had some trouble adding
ResultString
andVariablesString
. I would be glad about some advice about where to get them.