OperationOutputGenerator
interface OperationOutputGenerator
Deprecated
Use ApolloCompilerPlugin.operationIds() instead. See https://go.apollo.dev/ak-compiler-plugins for more details.
A class that generates OperationOutput to compute the operationIds. OperationOutputGenerator works with a collection of OperationDescriptor for implementation that need to batch compute the operationIds. For an example to send all the operation at once to a backend for whitelisting.
If you don't need batch compute, use OperationOutputGenerator.Default
Inheritors
Properties
Link copied to clipboard
A version that is used as input of the Gradle task. Since OperationOutputGenerator cannot easily be serialized and influences the output of the task, we need a way to mark the task out-of-date when the implementation changes.