Open evanrelf opened 1 year ago
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.
deriveEsqueletoRecord
SqlPerson
ToMaybe
For example, if I have this data type:
If I invoke
deriveEsqueletoRecord
, I'll get a newSqlPerson
data type, but it's missing aToMaybe
instance, which seems to be necessary for using the type in left joins.