Closed arthurxavierx closed 3 years ago
this should be fixed in https://github.com/bitemyapp/esqueleto/pull/228 when i get around to finishing it
@belevy thanks for doing god's work in that PR, it's looking absolutely fantastic!! Looking forward to having it :)
The following query produces an
undefined
error when run:The error points to https://github.com/bitemyapp/esqueleto/blob/master/src/Database/Esqueleto/Experimental.hs#L770
I believe the problem is due to the use of a tuple instead of
:&
, as it was fixed by changing the type of the expression toSqlQuery (SqlExpr (Maybe (Entity Foo)) :& SqlExpr (Maybe (Entity Bar)))
.I suspect this also happens to other types of joins, not only to
FullOuterJoin
, but I have not yet tested it.