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

Consider providing a GraphQL Java client #8773

Open
jvissers opened this issue May 17, 2024 · 0 comments
Open

Consider providing a GraphQL Java client #8773

jvissers opened this issue May 17, 2024 · 0 comments
Assignees
Labels
4.x Version 4.x enhancement New feature or request graphql P3
Projects

Comments

@jvissers
Copy link

jvissers commented May 17, 2024

Environment Details

  • Helidon Version: 4.0.7
  • Helidon MP
  • JDK version: Java HotSpot(TM) 64-Bit Server VM (build 21.0.2+13-LTS-58, mixed mode, sharing)
  • OS: Ubuntu 23.10

Problem Description

In one of the components that we are using has certain functionality not exposed through the documented REST API so we have to instead use the GraphQL endpoint that is exposed. Using that GraphQL endpoint, and a GraphQL query we are able to get the information that we need. However, as there is no official Java GraphQL client available, we had to find a way to make this work.

In this particular case, we were able to leverage the MP REST Client, to POST a GraphQL JSon payload and deal with the JSon result. However, this is not very convenient.

I'm raising this issue as per request by @arjav-desai in order for the Helidon team to consider adding a genuine GraphQL client. This probably would look very similar to the concept of a MP REST Client, somewhat similar to SmallRye GraphQL Client

@github-actions github-actions bot added this to Triage in Backlog May 17, 2024
@arjav-desai arjav-desai added the enhancement New feature or request label May 17, 2024
@m0mus m0mus added the graphql label May 23, 2024
@m0mus m0mus added 4.x Version 4.x P3 labels May 23, 2024
@m0mus m0mus moved this from Triage to Normal priority in Backlog May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x Version 4.x enhancement New feature or request graphql P3
Projects
Backlog
  
Normal priority
Development

No branches or pull requests

5 participants