tminglei / slick-pg

Slick extensions for PostgreSQL
BSD 2-Clause "Simplified" License
839 stars 180 forks source link

Can not use example on Scala 3 #506

Open Starofall opened 3 years ago

Starofall commented 3 years ago

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 3 years ago

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