ApolloCompiler

Types

Link copied to clipboard
interface Logger

Functions

Link copied to clipboard
fun buildCodegenSchema(schemaFiles: List<InputFile>, logger: ApolloCompiler.Logger?, codegenSchemaOptions: CodegenSchemaOptions): CodegenSchema
fun buildCodegenSchema(schemaFiles: List<InputFile>, logger: ApolloCompiler.Logger?, codegenSchemaOptions: CodegenSchemaOptions, foreignSchemas: List<ForeignSchema>): CodegenSchema
Link copied to clipboard
fun buildIrOperations(codegenSchema: CodegenSchema, executableFiles: List<InputFile>, upstreamCodegenModels: List<String>, upstreamFragmentDefinitions: List<GQLFragmentDefinition>, options: IrOptions, documentTransform: DocumentTransform?, logger: ApolloCompiler.Logger?): IrOperations
Link copied to clipboard
fun buildSchemaAndOperationsSources(codegenSchema: CodegenSchema, executableFiles: List<InputFile>, irOptions: IrOptions, codegenOptions: CodegenOptions, layoutFactory: LayoutFactory?, operationOutputGenerator: OperationOutputGenerator?, irOperationsTransform: Transform<IrOperations>?, javaOutputTransform: Transform<JavaOutput>?, kotlinOutputTransform: Transform<KotlinOutput>?, documentTransform: DocumentTransform?, logger: ApolloCompiler.Logger?, operationManifestFile: File?): SourceOutput
fun buildSchemaAndOperationsSources(schemaFiles: List<InputFile>, executableFiles: List<InputFile>, codegenSchemaOptions: CodegenSchemaOptions, irOptions: IrOptions, codegenOptions: CodegenOptions, layoutFactory: LayoutFactory?, operationOutputGenerator: OperationOutputGenerator?, irOperationsTransform: Transform<IrOperations>?, javaOutputTransform: Transform<JavaOutput>?, kotlinOutputTransform: Transform<KotlinOutput>?, documentTransform: DocumentTransform?, logger: ApolloCompiler.Logger?, operationManifestFile: File?): SourceOutput

Compiles a set of files without serializing the intermediate results

Link copied to clipboard
fun buildSchemaAndOperationsSourcesFromIr(codegenSchema: CodegenSchema, irOperations: IrOperations, downstreamUsedCoordinates: UsedCoordinates?, upstreamCodegenMetadata: List<CodegenMetadata>, codegenOptions: CodegenOptions, layout: SchemaAndOperationsLayout?, operationOutputGenerator: OperationOutputGenerator?, irOperationsTransform: Transform<IrOperations>?, javaOutputTransform: Transform<JavaOutput>?, kotlinOutputTransform: Transform<KotlinOutput>?, operationManifestFile: File?): SourceOutput
Link copied to clipboard
fun buildSchemaSources(codegenSchema: CodegenSchema, usedCoordinates: UsedCoordinates?, codegenOptions: CodegenOptions, schemaLayout: SchemaLayout?, javaOutputTransform: Transform<JavaOutput>?, kotlinOutputTransform: Transform<KotlinOutput>?): SourceOutput