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
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:
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.
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
The text was updated successfully, but these errors were encountered: