Open klaus7 opened 8 months ago
If you declare a boolean property with an 'is' prefix like:
var isPrimaryUser: Boolean? = false
... this is generated:
primaryUser: boolean | null
Which is not correct and won't work, because the objects from the backend are serialized in an object like
{ isPrimaryUser: false }
Found a workaround:
@get:JsonProperty("isPrimaryUser") var isPrimaryUser: Boolean? = false
If you declare a boolean property with an 'is' prefix like:
... this is generated:
Which is not correct and won't work, because the objects from the backend are serialized in an object like