Indeed I think there's a bug in there and for now ...
# squarelibraries
b
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
Thanks for your quick answer! Is it a bug related to Wire? Or trying to use Gson adapter would work ?
b
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.
1
f
Thx a lot
b
We'll fix it before the stable release. Worst case, we remove it.
👍 1