Open oSumAtrIX opened 1 day ago
I am aware of custom types, my question is about the default behavior
the doc explains exactly why this is the case
object representations of scalars
LocalDateTime is an object representation of a scalar value. so kompendium see that it is an object, and tries to serialize it as such.
But so is a nullable of that, and yet it is serialized as a string
oh interesting... worth looking into! It probably would have been more clear what you were saying if you had written that out instead of just screenshots lol
but thanks for explaining
My model:
Usage in Kompendium:
Result:
The type in question is
kotlinx.datetime.LocalDateTime
. The question is, why iscreatedAt
an object?