zio / zio-protoquill

Quill for Scala 3
Apache License 2.0
203 stars 48 forks source link

Error prone lift #412

Open Primetalk opened 5 months ago

Primetalk commented 5 months ago

Version: 4.8.1 Module: quill-sql Database: postgres

Expected behavior

double lift should be detected at compile time.

Actual behavior

It fails at runtime with

java.lang.RuntimeException: Unquotation can only be done from a quoted block.
    at io.getquill.EagerPlanter.unquote(DslModel.scala:99)

Steps to reproduce the behavior

https://scastie.scala-lang.org/CCFCK1XNQS6nCAl1x0TiPg

With postgres driver it compiles fine.

Workaround

Remove lift.

@getquill/maintainers