diff --git a/README.md b/README.md
index 1a369f6d790..b0d05102bfe 100644
--- a/README.md
+++ b/README.md
@@ -163,8 +163,8 @@ Some platforms have specific runtime requirements:
At build time, it requires:
* Gradle 8.0+
-* Kotlin 1.8+ for JVM projects
-* Kotlin 1.9+ for native projects
+* Kotlin 1.9+ for JVM projects
+* Kotlin 2.0+ for native projects
* Kotlin 2.0+ for JS projects
## Proguard / R8 configuration
diff --git a/build-logic/src/main/kotlin/CompilerOptions.kt b/build-logic/src/main/kotlin/CompilerOptions.kt
index 084c347423d..6e973d04e22 100644
--- a/build-logic/src/main/kotlin/CompilerOptions.kt
+++ b/build-logic/src/main/kotlin/CompilerOptions.kt
@@ -16,14 +16,13 @@ import org.jetbrains.kotlin.gradle.dsl.KotlinJvmProjectExtension
import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension
import org.jetbrains.kotlin.gradle.dsl.KotlinNativeCompilerOptions
import org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension
-import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
import org.jetbrains.kotlin.gradle.plugin.KotlinPlatformType
import org.jetbrains.kotlin.gradle.tasks.KotlinCompilationTask
/**
* @param target the JVM version we want to be compatible with (bytecode + bootstrap classpath)
*/
-fun KotlinCommonCompilerOptions.configure(target: Int) {
+fun KotlinCommonCompilerOptions.configure(target: Int, kotlinCompilerOptions: KotlinCompilerOptions) {
freeCompilerArgs.add("-Xexpect-actual-classes")
/**
@@ -34,8 +33,8 @@ fun KotlinCommonCompilerOptions.configure(target: Int) {
freeCompilerArgs.add("-opt-in=com.apollographql.apollo3.annotations.ApolloExperimental")
freeCompilerArgs.add("-opt-in=com.apollographql.apollo3.annotations.ApolloInternal")
- apiVersion.set(KotlinVersion.KOTLIN_1_9)
- languageVersion.set(KotlinVersion.KOTLIN_1_9)
+ apiVersion.set(kotlinCompilerOptions.version)
+ languageVersion.set(kotlinCompilerOptions.version)
when (this) {
is KotlinJvmCompilerOptions -> {
@@ -94,7 +93,7 @@ val Project.androidExtensionOrNull: BaseExtension?
return (extensions.findByName("android") as? BaseExtension)
}
-fun Project.configureJavaAndKotlinCompilers(jvmTarget: Int?) {
+fun Project.configureJavaAndKotlinCompilers(jvmTarget: Int?, kotlinCompilerOptions: KotlinCompilerOptions) {
@Suppress("NAME_SHADOWING")
val jvmTarget = jvmTarget?: 8
@@ -108,7 +107,7 @@ fun Project.configureJavaAndKotlinCompilers(jvmTarget: Int?) {
else -> jvmTarget
}
- configure(target)
+ configure(target, kotlinCompilerOptions)
}
project.tasks.withType(JavaCompile::class.java).configureEach {
// For JVM only modules, this dictates the "org.gradle.jvm.version" Gradle attribute
diff --git a/build-logic/src/main/kotlin/api.kt b/build-logic/src/main/kotlin/api.kt
index ab02a117159..0ef1a972959 100644
--- a/build-logic/src/main/kotlin/api.kt
+++ b/build-logic/src/main/kotlin/api.kt
@@ -1,15 +1,19 @@
-
import org.gradle.api.Project
import org.gradle.api.Task
import org.gradle.api.tasks.TaskProvider
import org.gradle.jvm.tasks.Jar
import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension
+import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
import org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension
import org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin
import org.jetbrains.kotlin.gradle.targets.js.npm.tasks.KotlinNpmInstallTask
class AndroidOptions(
- val withCompose: Boolean
+ val withCompose: Boolean,
+)
+
+class KotlinCompilerOptions(
+ val version: KotlinVersion = KotlinVersion.KOTLIN_2_0,
)
fun Project.apolloLibrary(
@@ -21,7 +25,8 @@ fun Project.apolloLibrary(
withJvm: Boolean = true,
withWasm: Boolean = true,
androidOptions: AndroidOptions? = null,
- publish: Boolean = true
+ publish: Boolean = true,
+ kotlinCompilerOptions: KotlinCompilerOptions = KotlinCompilerOptions(),
) {
group = property("GROUP")!!
version = property("VERSION_NAME")!!
@@ -30,7 +35,7 @@ fun Project.apolloLibrary(
configureAndroid(namespace, androidOptions)
}
commonSetup()
- configureJavaAndKotlinCompilers(jvmTarget)
+ configureJavaAndKotlinCompilers(jvmTarget, kotlinCompilerOptions)
addOptIn(
"com.apollographql.apollo3.annotations.ApolloExperimental",
@@ -74,9 +79,10 @@ fun Project.apolloTest(
withJvm: Boolean = true,
appleTargets: Set = setOf(hostTarget),
browserTest: Boolean = false,
+ kotlinCompilerOptions: KotlinCompilerOptions = KotlinCompilerOptions(),
) {
commonSetup()
- configureJavaAndKotlinCompilers(null)
+ configureJavaAndKotlinCompilers(null, kotlinCompilerOptions)
addOptIn(
"com.apollographql.apollo3.annotations.ApolloExperimental",
"com.apollographql.apollo3.annotations.ApolloInternal",
diff --git a/docs/source/index.md b/docs/source/index.md
index c835c7429a4..d287dbf988f 100644
--- a/docs/source/index.md
+++ b/docs/source/index.md
@@ -143,8 +143,8 @@ Some platforms have specific runtime requirements:
At build time, it requires:
* Gradle 8.0+
-* Kotlin 1.8+ for JVM projects
-* Kotlin 1.9+ for native projects
+* Kotlin 1.9+ for JVM projects
+* Kotlin 2.0+ for native projects
* Kotlin 2.0+ for JS projects
## Proguard / R8 configuration
diff --git a/libraries/apollo-compiler/api/apollo-compiler.api b/libraries/apollo-compiler/api/apollo-compiler.api
index aafe0c76904..246138cc0c8 100644
--- a/libraries/apollo-compiler/api/apollo-compiler.api
+++ b/libraries/apollo-compiler/api/apollo-compiler.api
@@ -39,13 +39,13 @@ public final class com/apollographql/apollo3/compiler/CodegenMetadata {
public final fun plus (Lcom/apollographql/apollo3/compiler/CodegenMetadata;)Lcom/apollographql/apollo3/compiler/CodegenMetadata;
}
-public final class com/apollographql/apollo3/compiler/CodegenMetadata$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/CodegenMetadata$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/CodegenMetadata$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/CodegenMetadata;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/CodegenMetadata;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/CodegenMetadata;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/CodegenMetadata;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -81,13 +81,13 @@ public final class com/apollographql/apollo3/compiler/CodegenOptions : com/apoll
public fun getUseSemanticNaming ()Ljava/lang/Boolean;
}
-public final class com/apollographql/apollo3/compiler/CodegenOptions$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/CodegenOptions$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/CodegenOptions$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/CodegenOptions;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/CodegenOptions;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/CodegenOptions;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/CodegenOptions;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -105,13 +105,13 @@ public final class com/apollographql/apollo3/compiler/CodegenSchema {
public final fun getSchema ()Lcom/apollographql/apollo3/ast/Schema;
}
-public final class com/apollographql/apollo3/compiler/CodegenSchema$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/CodegenSchema$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/CodegenSchema$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/CodegenSchema;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/CodegenSchema;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/CodegenSchema;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/CodegenSchema;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -127,13 +127,13 @@ public final class com/apollographql/apollo3/compiler/CodegenSchemaOptions {
public final fun getScalarMapping ()Ljava/util/Map;
}
-public final class com/apollographql/apollo3/compiler/CodegenSchemaOptions$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/CodegenSchemaOptions$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/CodegenSchemaOptions$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/CodegenSchemaOptions;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/CodegenSchemaOptions;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/CodegenSchemaOptions;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/CodegenSchemaOptions;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -158,13 +158,13 @@ public final class com/apollographql/apollo3/compiler/ExpressionAdapterInitializ
public final fun getExpression ()Ljava/lang/String;
}
-public final class com/apollographql/apollo3/compiler/ExpressionAdapterInitializer$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/ExpressionAdapterInitializer$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/ExpressionAdapterInitializer$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ExpressionAdapterInitializer;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ExpressionAdapterInitializer;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ExpressionAdapterInitializer;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ExpressionAdapterInitializer;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -229,13 +229,13 @@ public final class com/apollographql/apollo3/compiler/IrOptions {
public final fun getWarnOnDeprecatedUsages ()Ljava/lang/Boolean;
}
-public final class com/apollographql/apollo3/compiler/IrOptions$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/IrOptions$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/IrOptions$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/IrOptions;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/IrOptions;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/IrOptions;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/IrOptions;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -378,13 +378,13 @@ public final class com/apollographql/apollo3/compiler/ScalarInfo {
public final fun getUserDefined ()Z
}
-public final class com/apollographql/apollo3/compiler/ScalarInfo$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/ScalarInfo$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/ScalarInfo$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ScalarInfo;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ScalarInfo;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ScalarInfo;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ScalarInfo;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -434,13 +434,13 @@ public final class com/apollographql/apollo3/compiler/UsedCoordinates {
public final fun putType (Ljava/lang/String;)V
}
-public final class com/apollographql/apollo3/compiler/UsedCoordinates$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/UsedCoordinates$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/UsedCoordinates$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/UsedCoordinates;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/UsedCoordinates;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/UsedCoordinates;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/UsedCoordinates;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -484,13 +484,13 @@ public final class com/apollographql/apollo3/compiler/codegen/ResolverClassName
public final fun getSimpleNames ()Ljava/util/List;
}
-public final class com/apollographql/apollo3/compiler/codegen/ResolverClassName$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/codegen/ResolverClassName$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/codegen/ResolverClassName$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/codegen/ResolverClassName;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/codegen/ResolverClassName;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/codegen/ResolverClassName;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/codegen/ResolverClassName;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -506,13 +506,13 @@ public final class com/apollographql/apollo3/compiler/codegen/ResolverEntry {
public final fun getKey ()Lcom/apollographql/apollo3/compiler/codegen/ResolverKey;
}
-public final class com/apollographql/apollo3/compiler/codegen/ResolverEntry$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/codegen/ResolverEntry$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/codegen/ResolverEntry$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/codegen/ResolverEntry;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/codegen/ResolverEntry;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/codegen/ResolverEntry;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/codegen/ResolverEntry;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -535,13 +535,13 @@ public final class com/apollographql/apollo3/compiler/codegen/ResolverKey {
public fun toString ()Ljava/lang/String;
}
-public final class com/apollographql/apollo3/compiler/codegen/ResolverKey$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/codegen/ResolverKey$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/codegen/ResolverKey$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/codegen/ResolverKey;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/codegen/ResolverKey;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/codegen/ResolverKey;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/codegen/ResolverKey;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -657,13 +657,13 @@ public final class com/apollographql/apollo3/compiler/ir/IrAccessor$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class com/apollographql/apollo3/compiler/ir/IrArgument$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/ir/IrArgument$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/ir/IrArgument$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrArgument;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrArgument;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrArgument;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrArgument;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -672,13 +672,13 @@ public final class com/apollographql/apollo3/compiler/ir/IrArgument$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class com/apollographql/apollo3/compiler/ir/IrBooleanValue$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/ir/IrBooleanValue$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/ir/IrBooleanValue$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrBooleanValue;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrBooleanValue;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrBooleanValue;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrBooleanValue;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -691,13 +691,13 @@ public final class com/apollographql/apollo3/compiler/ir/IrCatchTo$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class com/apollographql/apollo3/compiler/ir/IrEnumType$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/ir/IrEnumType$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/ir/IrEnumType$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrEnumType;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrEnumType;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrEnumType;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrEnumType;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -706,13 +706,13 @@ public final class com/apollographql/apollo3/compiler/ir/IrEnumType$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class com/apollographql/apollo3/compiler/ir/IrEnumValue$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/ir/IrEnumValue$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/ir/IrEnumValue$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrEnumValue;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrEnumValue;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrEnumValue;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrEnumValue;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -721,13 +721,13 @@ public final class com/apollographql/apollo3/compiler/ir/IrEnumValue$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class com/apollographql/apollo3/compiler/ir/IrField$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/ir/IrField$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/ir/IrField$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrField;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrField;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrField;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrField;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -736,13 +736,13 @@ public final class com/apollographql/apollo3/compiler/ir/IrField$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class com/apollographql/apollo3/compiler/ir/IrFieldInfo$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/ir/IrFieldInfo$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/ir/IrFieldInfo$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrFieldInfo;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrFieldInfo;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrFieldInfo;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrFieldInfo;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -751,13 +751,13 @@ public final class com/apollographql/apollo3/compiler/ir/IrFieldInfo$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class com/apollographql/apollo3/compiler/ir/IrFloatValue$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/ir/IrFloatValue$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/ir/IrFloatValue$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrFloatValue;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrFloatValue;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrFloatValue;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrFloatValue;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -766,13 +766,13 @@ public final class com/apollographql/apollo3/compiler/ir/IrFloatValue$Companion
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class com/apollographql/apollo3/compiler/ir/IrFragment$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/ir/IrFragment$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/ir/IrFragment$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrFragment;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrFragment;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrFragment;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrFragment;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -781,13 +781,13 @@ public final class com/apollographql/apollo3/compiler/ir/IrFragment$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class com/apollographql/apollo3/compiler/ir/IrFragmentDefinition$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/ir/IrFragmentDefinition$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/ir/IrFragmentDefinition$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrFragmentDefinition;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrFragmentDefinition;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrFragmentDefinition;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrFragmentDefinition;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -796,13 +796,13 @@ public final class com/apollographql/apollo3/compiler/ir/IrFragmentDefinition$Co
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class com/apollographql/apollo3/compiler/ir/IrInputObjectType$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/ir/IrInputObjectType$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/ir/IrInputObjectType$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrInputObjectType;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrInputObjectType;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrInputObjectType;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrInputObjectType;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -811,13 +811,13 @@ public final class com/apollographql/apollo3/compiler/ir/IrInputObjectType$Compa
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class com/apollographql/apollo3/compiler/ir/IrIntValue$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/ir/IrIntValue$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/ir/IrIntValue$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrIntValue;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrIntValue;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrIntValue;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrIntValue;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -826,13 +826,13 @@ public final class com/apollographql/apollo3/compiler/ir/IrIntValue$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class com/apollographql/apollo3/compiler/ir/IrListType$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/ir/IrListType$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/ir/IrListType$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrListType;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrListType;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrListType;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrListType;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -841,13 +841,13 @@ public final class com/apollographql/apollo3/compiler/ir/IrListType$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class com/apollographql/apollo3/compiler/ir/IrListTypeRef$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/ir/IrListTypeRef$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/ir/IrListTypeRef$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrListTypeRef;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrListTypeRef;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrListTypeRef;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrListTypeRef;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -856,13 +856,13 @@ public final class com/apollographql/apollo3/compiler/ir/IrListTypeRef$Companion
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class com/apollographql/apollo3/compiler/ir/IrModel$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/ir/IrModel$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/ir/IrModel$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrModel;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrModel;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrModel;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrModel;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -871,13 +871,13 @@ public final class com/apollographql/apollo3/compiler/ir/IrModel$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class com/apollographql/apollo3/compiler/ir/IrModelGroup$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/ir/IrModelGroup$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/ir/IrModelGroup$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrModelGroup;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrModelGroup;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrModelGroup;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrModelGroup;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -886,13 +886,13 @@ public final class com/apollographql/apollo3/compiler/ir/IrModelGroup$Companion
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class com/apollographql/apollo3/compiler/ir/IrModelType$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/ir/IrModelType$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/ir/IrModelType$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrModelType;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrModelType;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrModelType;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrModelType;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -905,13 +905,13 @@ public final class com/apollographql/apollo3/compiler/ir/IrNamedType$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class com/apollographql/apollo3/compiler/ir/IrNamedTypeRef$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/ir/IrNamedTypeRef$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/ir/IrNamedTypeRef$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrNamedTypeRef;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrNamedTypeRef;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrNamedTypeRef;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrNamedTypeRef;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -920,13 +920,13 @@ public final class com/apollographql/apollo3/compiler/ir/IrNamedTypeRef$Companio
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class com/apollographql/apollo3/compiler/ir/IrNonNullTypeRef$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/ir/IrNonNullTypeRef$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/ir/IrNonNullTypeRef$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrNonNullTypeRef;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrNonNullTypeRef;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrNonNullTypeRef;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrNonNullTypeRef;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -935,13 +935,13 @@ public final class com/apollographql/apollo3/compiler/ir/IrNonNullTypeRef$Compan
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class com/apollographql/apollo3/compiler/ir/IrObjectType$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/ir/IrObjectType$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/ir/IrObjectType$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrObjectType;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrObjectType;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrObjectType;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrObjectType;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -950,13 +950,13 @@ public final class com/apollographql/apollo3/compiler/ir/IrObjectType$Companion
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class com/apollographql/apollo3/compiler/ir/IrObjectValue$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/ir/IrObjectValue$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/ir/IrObjectValue$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrObjectValue;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrObjectValue;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrObjectValue;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrObjectValue;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -965,13 +965,13 @@ public final class com/apollographql/apollo3/compiler/ir/IrObjectValue$Companion
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class com/apollographql/apollo3/compiler/ir/IrObjectValue$Field$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/ir/IrObjectValue$Field$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/ir/IrObjectValue$Field$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrObjectValue$Field;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrObjectValue$Field;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrObjectValue$Field;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrObjectValue$Field;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -980,13 +980,13 @@ public final class com/apollographql/apollo3/compiler/ir/IrObjectValue$Field$Com
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class com/apollographql/apollo3/compiler/ir/IrOperation$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/ir/IrOperation$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/ir/IrOperation$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrOperation;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrOperation;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrOperation;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrOperation;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -999,13 +999,13 @@ public final class com/apollographql/apollo3/compiler/ir/IrOperationType$Compani
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class com/apollographql/apollo3/compiler/ir/IrOperationType$Mutation$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/ir/IrOperationType$Mutation$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/ir/IrOperationType$Mutation$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrOperationType$Mutation;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrOperationType$Mutation;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrOperationType$Mutation;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrOperationType$Mutation;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -1014,13 +1014,13 @@ public final class com/apollographql/apollo3/compiler/ir/IrOperationType$Mutatio
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class com/apollographql/apollo3/compiler/ir/IrOperationType$Query$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/ir/IrOperationType$Query$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/ir/IrOperationType$Query$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrOperationType$Query;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrOperationType$Query;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrOperationType$Query;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrOperationType$Query;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -1029,13 +1029,13 @@ public final class com/apollographql/apollo3/compiler/ir/IrOperationType$Query$C
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class com/apollographql/apollo3/compiler/ir/IrOperationType$Subscription$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/ir/IrOperationType$Subscription$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/ir/IrOperationType$Subscription$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrOperationType$Subscription;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrOperationType$Subscription;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrOperationType$Subscription;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrOperationType$Subscription;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -1044,13 +1044,13 @@ public final class com/apollographql/apollo3/compiler/ir/IrOperationType$Subscri
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class com/apollographql/apollo3/compiler/ir/IrOperations$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/ir/IrOperations$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/ir/IrOperations$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrOperations;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrOperations;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrOperations;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrOperations;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -1059,13 +1059,13 @@ public final class com/apollographql/apollo3/compiler/ir/IrOperations$Companion
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class com/apollographql/apollo3/compiler/ir/IrProperty$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/ir/IrProperty$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/ir/IrProperty$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrProperty;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrProperty;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrProperty;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrProperty;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -1074,13 +1074,13 @@ public final class com/apollographql/apollo3/compiler/ir/IrProperty$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class com/apollographql/apollo3/compiler/ir/IrScalarType$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/ir/IrScalarType$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/ir/IrScalarType$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrScalarType;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrScalarType;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrScalarType;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrScalarType;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -1100,13 +1100,13 @@ public final class com/apollographql/apollo3/compiler/ir/IrSelection$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class com/apollographql/apollo3/compiler/ir/IrSelectionSet$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/ir/IrSelectionSet$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/ir/IrSelectionSet$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrSelectionSet;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrSelectionSet;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrSelectionSet;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrSelectionSet;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -1115,13 +1115,13 @@ public final class com/apollographql/apollo3/compiler/ir/IrSelectionSet$Companio
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class com/apollographql/apollo3/compiler/ir/IrStringValue$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/ir/IrStringValue$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/ir/IrStringValue$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrStringValue;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrStringValue;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrStringValue;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrStringValue;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -1142,13 +1142,13 @@ public final class com/apollographql/apollo3/compiler/ir/IrValue$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class com/apollographql/apollo3/compiler/ir/IrVariable$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/ir/IrVariable$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/ir/IrVariable$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrVariable;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/ir/IrVariable;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrVariable;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/ir/IrVariable;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -1165,13 +1165,13 @@ public final class com/apollographql/apollo3/compiler/operationoutput/OperationD
public final fun getType ()Ljava/lang/String;
}
-public final class com/apollographql/apollo3/compiler/operationoutput/OperationDescriptor$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/operationoutput/OperationDescriptor$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/operationoutput/OperationDescriptor$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/operationoutput/OperationDescriptor;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/operationoutput/OperationDescriptor;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/operationoutput/OperationDescriptor;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/operationoutput/OperationDescriptor;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -1194,13 +1194,13 @@ public final class com/apollographql/apollo3/compiler/pqm/PersistedQueryManifest
public final fun getVersion ()I
}
-public final class com/apollographql/apollo3/compiler/pqm/PersistedQueryManifest$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/pqm/PersistedQueryManifest$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/pqm/PersistedQueryManifest$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/pqm/PersistedQueryManifest;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/pqm/PersistedQueryManifest;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/pqm/PersistedQueryManifest;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/pqm/PersistedQueryManifest;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
@@ -1222,13 +1222,13 @@ public final class com/apollographql/apollo3/compiler/pqm/PqmOperation {
public final fun getType ()Ljava/lang/String;
}
-public final class com/apollographql/apollo3/compiler/pqm/PqmOperation$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+public synthetic class com/apollographql/apollo3/compiler/pqm/PqmOperation$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lcom/apollographql/apollo3/compiler/pqm/PqmOperation$$serializer;
- public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
- public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/pqm/PqmOperation;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/apollographql/apollo3/compiler/pqm/PqmOperation;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
- public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/pqm/PqmOperation;)V
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/apollographql/apollo3/compiler/pqm/PqmOperation;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
diff --git a/libraries/apollo-debug-server/build.gradle.kts b/libraries/apollo-debug-server/build.gradle.kts
index ccc8b905386..01f0bd9d9b4 100644
--- a/libraries/apollo-debug-server/build.gradle.kts
+++ b/libraries/apollo-debug-server/build.gradle.kts
@@ -1,6 +1,8 @@
+
import com.android.build.gradle.tasks.BundleAar
import dev.adamko.dokkatoo.tasks.DokkatooGenerateTask
import org.gradle.api.internal.artifacts.transform.UnzipTransform
+import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
@@ -15,7 +17,12 @@ apolloLibrary(
withApple = false,
withJs = false,
withWasm = false,
- androidOptions = AndroidOptions(withCompose = false)
+ androidOptions = AndroidOptions(withCompose = false),
+ // Can't use apiVersion KOTLIN_2_0 when using languageVersion KOTLIN_1_9, which is the case here because we're using KSP 1
+ // TODO: move to KSP 2 and remove this when https://github.com/google/ksp/issues/1823 is resolved
+ kotlinCompilerOptions = KotlinCompilerOptions(
+ version = KotlinVersion.KOTLIN_1_9,
+ )
)
kotlin {
diff --git a/libraries/apollo-gradle-plugin-external/src/main/kotlin/com/apollographql/apollo3/gradle/internal/DefaultApolloExtension.kt b/libraries/apollo-gradle-plugin-external/src/main/kotlin/com/apollographql/apollo3/gradle/internal/DefaultApolloExtension.kt
index b2e80ab0ce8..8019d18be55 100644
--- a/libraries/apollo-gradle-plugin-external/src/main/kotlin/com/apollographql/apollo3/gradle/internal/DefaultApolloExtension.kt
+++ b/libraries/apollo-gradle-plugin-external/src/main/kotlin/com/apollographql/apollo3/gradle/internal/DefaultApolloExtension.kt
@@ -996,7 +996,7 @@ abstract class DefaultApolloExtension(
service.srcDir("src/${sourceProvider.name}/graphql/$sourceFolder")
}
(service as DefaultService).outputDirAction = Action { connection ->
- connection.connectToAndroidVariant(variant)
+ connection.connectToAndroidVariant(variant.wrapped)
}
}
}
diff --git a/libraries/apollo-gradle-plugin-external/src/main/kotlin/com/apollographql/apollo3/gradle/internal/androidProject.kt b/libraries/apollo-gradle-plugin-external/src/main/kotlin/com/apollographql/apollo3/gradle/internal/androidProject.kt
index cc75964da68..8d62876c24c 100644
--- a/libraries/apollo-gradle-plugin-external/src/main/kotlin/com/apollographql/apollo3/gradle/internal/androidProject.kt
+++ b/libraries/apollo-gradle-plugin-external/src/main/kotlin/com/apollographql/apollo3/gradle/internal/androidProject.kt
@@ -11,24 +11,36 @@ import com.android.build.gradle.api.BaseVariant
import com.android.build.gradle.api.LibraryVariant
import com.android.build.gradle.api.TestVariant
import com.android.build.gradle.api.UnitTestVariant
+import com.android.builder.model.SourceProvider
import org.gradle.api.DomainObjectSet
import org.gradle.api.Project
+internal class VariantWrapper(private val _wrapped: BaseVariant) {
+ val name: String
+ get() = _wrapped.name
+
+ val sourceSets: List
+ get() = _wrapped.sourceSets
+
+ val wrapped: Any
+ get() = _wrapped
+}
+
internal object AndroidProject {
- fun onEachVariant(project: Project, withTestVariants: Boolean = false, block: (BaseVariant) -> Unit) {
+ fun onEachVariant(project: Project, withTestVariants: Boolean = false, block: (VariantWrapper) -> Unit) {
project.applicationVariants?.configureEach {
- block(it)
+ block(VariantWrapper(it))
}
project.libraryVariants?.configureEach {
- block(it)
+ block(VariantWrapper(it))
}
if (withTestVariants) {
project.testVariants?.configureEach {
- block(it)
+ block(VariantWrapper(it))
}
project.unitTestVariants?.configureEach {
- block(it)
+ block(VariantWrapper(it))
}
}
}
diff --git a/tests/sample-server/build.gradle.kts b/tests/sample-server/build.gradle.kts
index 336f7da02d6..59ba55d66a3 100644
--- a/tests/sample-server/build.gradle.kts
+++ b/tests/sample-server/build.gradle.kts
@@ -1,3 +1,5 @@
+import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
+
plugins {
id("org.jetbrains.kotlin.jvm")
id("com.google.devtools.ksp")
@@ -6,7 +8,13 @@ plugins {
id("application")
}
-apolloTest()
+apolloTest(
+ // Can't use apiVersion KOTLIN_2_0 when using languageVersion KOTLIN_1_9, which is the case here because we're using KSP 1
+ // TODO: move to KSP 2 and remove this when https://github.com/google/ksp/issues/1823 is resolved
+ kotlinCompilerOptions = KotlinCompilerOptions(
+ version = KotlinVersion.KOTLIN_1_9,
+ )
+)
dependencies {
implementation(libs.apollo.execution)