esqueleto
esqueleto copied to clipboard
`deriveEsqueletoRecord` should generate a `ToMaybe` instance
For example, if I have this data type:
data Person = Person
{ name :: Text
, age :: Natural
}
If I invoke deriveEsqueletoRecord, I'll get a new SqlPerson data type, but it's missing a ToMaybe instance, which seems to be necessary for using the type in left joins.