jhc-systems / sqlest

Write SQL in Scala
https://jhc-systems.github.io/sqlest/latest/api/
Apache License 2.0
30 stars 17 forks source link

Compose MappedColumnTypes #4

Closed brendanator closed 10 years ago

brendanator commented 10 years ago

At the moment there are several included MappedColumnTypes. A couple of examples are TrimmedStringColumnType and BlankIsNoneStringColumnType

Sometimes these need to be both applied. e.g. BlankIsNoneTrimmedStringColumnType.

Unfortunately TrimmedStringColumnType and BlankIsNoneStringColumnType do not compose so BlankIsNoneTrimmedStringColumnType would have to be defined from scratch