Domains
If you use domains in PostgreSQL like this:
CREATE DOMAIN "OrderNumber" varchar(25) NULL;
Typo will generate a newtype for it with the corresponding type class instances:
/** Domain `public.OrderNumber`
* No constraint
*/
case class OrderNumber(value: String) extends AnyVal
object OrderNumber {
// ...instances
}