Indeed I think there's a bug in there and for now the workaround would be to generate your types with
javaInterop = true
➕ 1
f
Fanilog
10/19/2021, 1:13 PM
Thanks for your quick answer! Is it a bug related to Wire? Or trying to use Gson adapter would work ?
b
Benoit Quenaudon
10/19/2021, 1:20 PM
The problem is the code both Moshi and Gson adapter share I believe.
We added this feature in alpha12 (latest release). Until then, for both adapters, the generated classes had to have builders.