You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
•Couldnot deduce:Exp.ToAliasReferenceT
(Exp.ToAliasT (SqlExpr (Maybe (EntityThing))))
~SqlExpr (Maybe (EntityThing))
arising from a functional dependency between:
constraint ‘Database.Esqueleto.Internal.Internal.SqlSelect
(Exp.ToAliasReferenceT
(Exp.ToAliasT (SqlExpr (Maybe (EntityThing)))))
(Maybe (EntityThing))’
arising from a use of‘select’
Is this an oversight in Experimental stuff, or am I trying to do something impossible/stupid?
Context is roughly as follows: I have a (nonempty) list of queries, all of which have a left outer join (with Thing being on the right side of the join), over which I'm doing a foldl1 Union
Basically this thing:
xs:: [B]
f::B->SqlQuery (SqlExpr (EntityC), SqlExpr (Maybe (EntityThing))) -- this Thing is the same one from above......<- select $Experimental.from $List.foldl1' Union$map (SelectQuery. f) xs -- errors here...
The text was updated successfully, but these errors were encountered:
I got the following error today:
Is this an oversight in
Experimental
stuff, or am I trying to do something impossible/stupid?Context is roughly as follows: I have a (nonempty) list of queries, all of which have a left outer join (with
Thing
being on the right side of the join), over which I'm doing afoldl1 Union
Basically this thing:
The text was updated successfully, but these errors were encountered: