A typesafe GraphQL client derives requests from domain classes and a client interface. In Quarkus, the interface describes the client-side GraphQL contract while configuration supplies the server URL. section 4.5.4
Inventory availability
A Reservation service can call its injected client to retrieve inventory as List<Car>. The availability endpoint returns cars such as a Mazda 6 and a Ford Mustang. A dynamic GraphQL client remains an alternative when requests must be constructed explicitly.
