Annotation Type GraphQLClient


  • @Retention(RUNTIME)
    @Target({FIELD,PARAMETER})
    public @interface GraphQLClient
    Marks an injection point that should receive a named GraphQL client instance. Configuration of the client needs to be provided through config properties. Example of injecting a dynamic client: `@Inject` `@NamedClient("countries")` DynamicGraphQLClient countriesClient; Definition of the client via system properties: smallrye.graphql.client.countries/url=https://countries.trevorblades.com/ Passing a HTTP header: smallrye.graphql.client.countries/header/Authorization=Bearer 123456
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String value