goku
11/24/2023, 2:21 AM@JVMOverloads
to data class constructors. Using v3.goku
11/24/2023, 3:22 AMUserFragment("John")
will break when it is transitively upgraded to v2.
// v1
data class UserFragment(
val name: String,
)
// v2
data class UserFragment(
val name: String,
val age: Int,
)
bod
11/24/2023, 5:32 AMid("com.apollographql.apollo3.external")
plugin rather than the usual id("com.apollographql.apollo3")
)mbonnin
11/24/2023, 12:23 PMgoku
11/24/2023, 12:31 PMmbonnin
11/24/2023, 12:39 PMmbonnin
11/24/2023, 12:40 PMgoku
11/24/2023, 12:57 PMInput
is a good example. Adding a new nullable field to schema is a “safe” operation from the point of GQL Schema checks, but it is not safe on the client side since the binary of the generated code changes. addJvmOverloads
should be added to Input imo.mbonnin
11/24/2023, 1:50 PMaddJvmOverloads
should also impact input types. Want to open an issue/open a PR?mbonnin
11/24/2023, 1:51 PMgenerateInputBuilders.set(true)
to workaround thisgoku
11/25/2023, 2:05 AM