Interface PartialRequestGraphQLRepository

All Superinterfaces:
PartialQueries

@GraphQLRepository(queryExecutor=MyQueryTypeExecutorAllGraphQLCases.class) public interface PartialRequestGraphQLRepository extends PartialQueries
This interface demonstrate the use of GraphqlRepository: it just redefines the method of the PartialQueries interface. These methods:
  • Are marked with the Override annotation, to make sure it comes from the super interface (useless in normal use case, as the GraphQLRepository interface would not inherit from another interface)
  • Are marked with the PartialRequest annotation, to define the associated GraphQL request
Please note that the class is itself marked with the GraphQLRepository annotation.
And that's it: no implementation class is needed. Everything is done at runtime by the plugin runtime code.
Author:
etienne-sf