Annotation Interface GraphQLClientApi
Annotate your GraphQL Client
interface as GraphQLClientApi,
so CDI can build and inject it for you.
Example:
@GraphQLClientApi
public interface SuperHeroesApi {
List<Hero> allHeroes();
}
@Inject
SuperHeroesApi superHeroesApi;
You can optionally add some fallback configuration with this annotation.-
Optional Element Summary
Optional Elements