Running GraphQL queries and mutations using a GraphQL client
Learn how to use a GraphQL client to run queries and mutations. Create a GraphQL client microservice that makes requests to a GraphQL service. Display the results at REST endpoints using OpenAPI.
At a Glance
Learn how to use a GraphQL client to run GraphQL queries and mutations.
You will learn how to create a GraphQL client microservice.
You’ll start with the GraphQL service created as part of our GraphQL intro guide. You’ll then use the SmallRye GraphQL client to create a client microservice that will make requests to the GraphQL service. The results of the requests will be displayed at REST endpoints. OpenAPI will be used to help make the requests and display the data. To learn more about OpenAPI, check out the Documenting RESTful APIs guide.