Jonathan Hollingsworth10/05/2021, 1:16 AM
, but the type of that value is dependent on
property. I was thinking I’d need a union type for
, but just found out Kotlin doesn’t support that. I could use
, but that breaks the kotlinx.serialization
annotation. Has anyone got any ideas or can point me in the right direction?
Jonathan Hollingsworth10/05/2021, 2:09 AM
is going to be a string representing a postgres data type, but I might be able to use that with a
or something to determine the relevant type.
andylamax10/05/2021, 7:15 AM
Jonathan Hollingsworth10/05/2021, 7:20 AM