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

Integrate GraphiQL into GraphQL services #1936

Closed
shafreenAnfar opened this issue Sep 23, 2021 · 3 comments · Fixed by ballerina-platform/module-ballerina-graphql#676
Closed
Assignees
Labels
module/graphql Issues related to Ballerina GraphQL module Points/7 Team/PCM Protocol connector packages related issues Type/Improvement

Comments

@shafreenAnfar
Copy link
Contributor

Maybe we can expose it under /graphiql as the default.

@shafreenAnfar shafreenAnfar added Type/Improvement module/graphql Issues related to Ballerina GraphQL module Team/PCM Protocol connector packages related issues labels Sep 23, 2021
@ThisaruGuruge
Copy link
Member

We can connect with a Ballerina GraphQL service using the GraphiQL client, by providing the link to the Ballerina service. The only drawback is that the user has to download the GraphiQL client (or use an online GraphQL client) to connect with the Ballerina GraphQL service.

In ExpressJS GraphQL, they use an input to check whether to start the GraphiQL server, and they serve it under the same URL.

This is a nice to have feature, but for now, I think we can live with what we have. We can check the possibility of integrating a browser client later. WDYT?

@shafreenAnfar
Copy link
Contributor Author

Yeah, this is a nice to have feature. Created an issue to track the task. If we can expose it under the same URL, it would be fine too. The goal here is to avoid the need to download the client.

@DimuthuMadushan
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module/graphql Issues related to Ballerina GraphQL module Points/7 Team/PCM Protocol connector packages related issues Type/Improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants