Package-level declarations
Types
Controls how scalar adapters are used in the generated code.
Entry point for customizing the behaviour of the Apollo Compiler besides the already existing options
CodegenMetadata contains information about what target classes were generated for each GraphQL types so that downstream modules can reuse them.
A Schema linked with other options that are bound to this schema and need to be the same in all modules using this schema
A DocumentTransform transforms operations and fragments at build time. DocumentTransform can add or remove fields automatically for an example.
The adapter expression will be used as-is (can be an object, a public val, a class instantiation).
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.
A PackageNameGenerator computes the package name for a given file. Files can be either
The adapter instance will be looked up in the com.apollographql.apollo3.api.CustomScalarAdapters provided at runtime.
Properties
Functions
A variation of String.capitalize that:
A variation of String.decapitalize that:
Reading compiler outputs
Reading options
Writing compiler outputs
Writing options to files need to be public to start