You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public final class com/apollographql/apollo3/api/FooBar {
public synthetic fun <init> (Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun getId ()Ljava/lang/String;
}
public final class com/apollographql/apollo3/api/FooBar$Builder {
public fun <init> ()V
public final fun build ()Lcom/apollographql/apollo3/api/FooBar;
}
I'm curious as to why <init> is listed in the dump. If I were to remove the id parameter, would that be considered a breaking change even if it should be an implementation detail?
I'm using 0.8.0-RC
The text was updated successfully, but these errors were encountered:
class ConstructorMarker constructor(unused: String = "")
and
class ConstructorMarker private constructor(unused: String, i: Int) {
class Builder {
fun build() = ConstructorMarker("", 42)
}
}
both produce public synthetic <init>(Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V, the trick is to properly distinguish them as former is part of the ABI, while latter is not
The following code:
dumps the following API:
I'm curious as to why
<init>
is listed in the dump. If I were to remove theid
parameter, would that be considered a breaking change even if it should be an implementation detail?I'm using
0.8.0-RC
The text was updated successfully, but these errors were encountered: