Bug #27035
Updated by François ARMAND 15 days ago
When we serialize ReportType in base, for last node compliance for ex, we get:
<pre>
"rt" : {
"EnforceRepaired" : {}
},
</pre>
But we really want:
<pre>
"rt" : "EnforceRepaired",
</pre>
We do have the first case tested in JsonPostresqlSerializationTest because it was dump from base, and we missed that bit.
Ideally, a correction would be able to deserialize both case and produce only the second.
WARNING: the automatic derivation changes in Scala3 to match what we want, but it means that we need to check all our sealed trait auto-derived encoder (I think it's the only one, but hard to grep)