Open PawelJ-PL opened 1 year ago
I can also set methods as inline in trait, but this will require that almost the entire application has inline functions. I wonder if it's possible to limit this to just the database part.
Hi @PawelJ-PL, wondering if you came to a solution here?
Yes, I found solution. As I remember, i fixed it by importing import io.getquill.*
or importing quill methods from context (I can't remember, but I fixed it using proper import)
Version: (e.g. 4.6.0.1
) **Module**: (e.g.
quill-jdbc) **Database**: (e.g.
postgres`)I'm trying to use Protoquill as part of the ZIO service (https://zio.dev/reference/service-pattern/introduction/), just as I did with Quill for Scala 2. However, I have a compilation problem, which is probably due to a macro or inline function (I have not experienced this problem, using Quill).
Before I extend the trait, which is a ZIO service, everything works as expected, example code, which works:
But if I extend the trait, like (changed extends, and addred override):
I received the following compilation error:
@getquill/maintainers