Elka
08/31/2020, 6:18 AMnull
attributes specially that the JSON does NOT include the keys with null values like "someAtt": null
.
We're open to any suggestion on how to handle this considering that we have 40+ tables and we prefer if we don't duplicate the model or write the serializers ourselves.Nikky
08/31/2020, 9:24 AMElka
08/31/2020, 9:47 AMUser.Impl
and @Serializable UserJson(..): User
.
Trying to see if the external serializer feature would allow me to to reuse the same model. The solution would be
@Serializer(forClass: User.Impl::class) object UserSerializer
Nikky
08/31/2020, 10:00 AMElka
08/31/2020, 11:45 AMNikky
08/31/2020, 11:47 AMElka
08/31/2020, 11:50 AMDEFAULT
value in the CREATE TABLE
statement to a custom type like Date
or enums
Nikky
08/31/2020, 11:51 AMElka
08/31/2020, 11:52 AMDEFAULT
value to build custom types like Date
or enums
Nikky
08/31/2020, 12:16 PMNikky
08/31/2020, 12:17 PMElka
09/03/2020, 2:43 PMNikky
09/03/2020, 3:07 PMDEFAULT null
to the sql