tminglei/slick-pg

Can not use example on Scala 3

Starofall opened this issue · 1 comments

I am trying to use slick-pg in a Scala 3 environment.
The example code does work on 2.13.5 but does not on 3.0.0-RC2.

[error] -- Error: ****\CPGDriver.scala:64:9
[error] 64 |  object MyAPI extends API with ArrayImplicits
[error]    |         ^^^^^
[error]    |object MyAPI cannot be instantiated since it has conflicting base types MyPostgresProfile.super.API and MyPostgresProfile.this.API
[error] -- Error: ****\CPGDriver.scala:75:7
[error] 75 |object MyPostgresProfile extends MyPostgresProfile
[error]    |       ^^^^^^^^^^^^^^^^^
[error]    |object MyPostgresProfile cannot be instantiated since it has a member QueryActionExtensionMethods with possibly conflicting bounds ****.MyPostgresProfile.QueryActionExtensionMethods
nafg commented

I think this is a Slick issue, not a slick-pg issue