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
cmd2.sc:15: exception during macro expansion:
java.lang.IllegalStateException: The monad composition can't be expressed using applicative joins. Faulty expression: '(a, b)'. Free variables: 'List(a, b)'.
at io.getquill.util.Messages$.fail(Messages.scala:21)
at io.getquill.context.sql.idiom.SqlIdiom$$anonfun$3.apply(SqlIdiom.scala:43)
at io.getquill.context.sql.idiom.SqlIdiom$$anonfun$3.apply(SqlIdiom.scala:43)
at scala.Option.map(Option.scala:146)
Workaround
Decompose the joined entity and put it into the tuple so they are not nested:
Version: (e.g.
3.4.2-SNAPSHOT
)Module: (e.g.
quill-sql
)Database: (e.g.
ALL
)Expected behavior
Should be able to use the result of a join in a nested tuple. This does not work however:
Actual behavior
This causes a compile-time exception:
Workaround
Decompose the joined entity and put it into the tuple so they are not nested:
@getquill/maintainers
The text was updated successfully, but these errors were encountered: