KotlinResolver

class KotlinResolver(    entries: List<ResolverEntry>,     val next: KotlinResolver?,     scalarMapping: Map<String, ScalarInfo>,     requiresOptInAnnotation: String?,     hooks: ApolloCompilerKotlinHooks)

Constructors

Link copied to clipboard
fun KotlinResolver(    entries: List<ResolverEntry>,     next: KotlinResolver?,     scalarMapping: Map<String, ScalarInfo>,     requiresOptInAnnotation: String?,     hooks: ApolloCompilerKotlinHooks)

Functions

Link copied to clipboard
fun canResolveSchemaType(name: String): Boolean
Link copied to clipboard
fun entries(): List<ResolverEntry>
Link copied to clipboard
fun registerBuilderFun(name: String, memberName: MemberName)
Link copied to clipboard
fun registerBuilderType(name: String, className: ClassName): ClassName?
Link copied to clipboard
fun registerCustomScalarAdapters(className: ClassName)
Link copied to clipboard
fun registerEnumAdapter(name: String, className: ClassName): ClassName?
Link copied to clipboard
fun registerFragment(name: String, className: ClassName): ClassName?
Link copied to clipboard
fun registerFragmentSelections(name: String, className: ClassName): ClassName?
Link copied to clipboard
fun registerFragmentVariablesAdapter(name: String, className: ClassName): ClassName?
Link copied to clipboard
fun registerInputObjectAdapter(name: String, className: ClassName): ClassName?
Link copied to clipboard
fun registerMapType(name: String, className: ClassName): ClassName?
Link copied to clipboard
fun registerModel(path: String, className: ClassName): ClassName?
Link copied to clipboard
fun registerModelAdapter(path: String, className: ClassName): ClassName?
Link copied to clipboard
fun registerOperation(name: String, className: ClassName): ClassName?
Link copied to clipboard
fun registerOperationSelections(name: String, className: ClassName): ClassName?
Link copied to clipboard
fun registerOperationVariablesAdapter(name: String, className: ClassName): ClassName?
Link copied to clipboard
fun registerSchema(className: ClassName)
Link copied to clipboard
fun registerSchemaType(name: String, className: ClassName): ClassName?
Link copied to clipboard
fun registerTestBuilder(path: String, className: ClassName): ClassName?
Link copied to clipboard
fun resolve(key: ResolverKey): ClassName?
Link copied to clipboard
fun resolveBuilderFun(name: String): MemberName
Link copied to clipboard
fun resolveBuilderType(name: String): ClassName
Link copied to clipboard
fun resolveCompiledType(name: String): CodeBlock
Link copied to clipboard
fun resolveCustomScalarAdapters(): ClassName
Link copied to clipboard
fun resolveFragment(name: String): ClassName
Link copied to clipboard
fun resolveFragmentSelections(name: String): ClassName
Link copied to clipboard
fun resolveFragmentVariablesAdapter(name: String): ClassName?
Link copied to clipboard
fun resolveModel(path: String): ClassName
Link copied to clipboard
fun resolveModelAdapter(path: String): ClassName
Link copied to clipboard
fun resolveOperation(name: String): ClassName
Link copied to clipboard
fun resolveOperationSelections(name: String): ClassName
Link copied to clipboard
fun resolveOperationVariablesAdapter(name: String): ClassName?

Might be null if there are no variable

Link copied to clipboard
fun resolveRequiresOptInAnnotation(): ClassName?
Link copied to clipboard
fun resolveSchema(): ClassName
Link copied to clipboard
fun resolveSchemaType(name: String): ClassName
Link copied to clipboard
fun resolveTestBuilder(path: String): ClassName

Properties

Link copied to clipboard
val next: KotlinResolver?