ApolloCompilerPlugin
interface ApolloCompilerPlugin
ApolloCompilerPlugin allows to customize the behavior of the Apollo Compiler.
ApolloCompilerPlugin may be instantiated several times in a codegen run. Each instance is created in a separate classloader. The classloaders contains apollo-compiler
classes and the runtime classpath of the ApolloCompilerPlugin. You may throw from ApolloCompilerPlugin methods to fail the build.
Functions
Link copied to clipboard
abstract fun beforeCompilationStep(environment: ApolloCompilerPluginEnvironment, registry: ApolloCompilerRegistry)
This is called before each compilation step. A typical compilation involves different steps:
Link copied to clipboard
Computes operation ids for persisted queries.