Consuming GraphQL services with client APIs
The client APIs are not officially part of the MP GraphQL specification yet. At the time of writing, these APIs are still under development in the SmallRye GraphQL project, with the intention of formalizing them into the specification.
Disclaimer
Since these APIs are not official yet, they are subject to change. The information in this section pertains to the SmallRye GraphQL version 1.2.3 client APIs. These APIs may change when added to the official MP GraphQL specification, so please check with the official documentation at https://github.com/eclipse/microprofile-graphql for any changes.
The MP GraphQL project intends to support two flavors of client APIs. Similar to the JAX-RS client and the MicroProfile REST client (see Chapter 4, Developing Cloud-Native Applications), there is a dynamic client API and a type-safe client API. As with the JAX-RS client, the dynamic client allows users to specify the nitty-gritty details of the...