ApolloCompilerKotlinHooks

interface ApolloCompilerKotlinHooks

Types

Link copied to clipboard
data class FileInfo(val fileSpec: FileSpec, val targetTestDir: Boolean)
Link copied to clipboard
object Identity : DefaultApolloCompilerKotlinHooks

The default implementation of ApolloCompilerKotlinHooks that overrides nothing.

Functions

Link copied to clipboard
abstract fun overrideResolvedType(key: ResolverKey, resolved: ClassName?): ClassName?

Allows overriding the names of classes that are referenced in the generated code.

Link copied to clipboard

Allows processing the generated files right before they are written to the disk.

Properties

Link copied to clipboard
abstract val version: String

The version of this ApolloCompilerKotlinHooks.

Inheritors

Link copied to clipboard
Link copied to clipboard