Package com.apollographql.apollo3.compiler.codegen

Types

Link copied to clipboard
@JsonClass(generateAdapter = true)
class ResolverClassName(val packageName: String, val simpleNames: List<String>)
Link copied to clipboard
@JsonClass(generateAdapter = true)
class ResolverEntry(val key: ResolverKey, val className: ResolverClassName)
Link copied to clipboard
@JsonClass(generateAdapter = true)
class ResolverInfo(    val magic: String,     val version: String,     val entries: List<ResolverEntry>)

Additional resolver data generated alongside the models and adapters. This data maps a GraphQL identifier (such as a typename or model path) to its target class. This allows children modules to reference classes generated in parents (and know when to skip generating them).

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class ResolverKey(val kind: ResolverKeyKind, val id: String)

Must be a data class because it is used as a key in resolvers

Link copied to clipboard
enum ResolverKeyKind : Enum<ResolverKeyKind>
Link copied to clipboard
@JsonClass(generateAdapter = true)
class ResolverMemberName(val className: ResolverClassName, val name: String)