-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Unexpected types #642
Comments
I am aware of custom types, my question is about the default behavior |
the doc explains exactly why this is the case |
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?The text was updated successfully, but these errors were encountered: