easafe / purescript-droplet

Type-safe ORM for PureScript
https://droplet.asafe.dev
MIT License
29 stars 1 forks source link

Type mismatch with mixed array columns #13

Closed easafe closed 2 years ago

easafe commented 2 years ago

The following query blows up at runtime whereas it should be a type error

type a = { b :: int, c :: int }
insert # into a (b /\ c) # values (3 /\ [3,  4])