I'd suppose it's not possible to use a DataTypeCon...
# komapper
d
I'd suppose it's not possible to use a DataTypeConverter to map a field type to a sealed class instance based on two fields in the database?
t
That is impossible. But what about using Embedded Value that implements a sealed interface? In the linked example, the Money class would implement the interface. https://www.komapper.org/docs/reference/entity-class/#komapperembedded