mdedetrich commented on PR #44:
URL: 
https://github.com/apache/incubator-pekko-persistence-jdbc/pull/44#issuecomment-1628655679

   @nafg So as you can see I have updated to the latest Slick 3 and not too 
surprisingly I am getting some compile errors. While I think that some of them 
are purely Scala 3 related (i.e. see 
https://contributors.scala-lang.org/t/better-type-inference-for-scala-send-us-your-problematic-cases/2410/186)
 others may be some combination of Slick/Scala3 i.e.
   
   ```
   [error] 238 |  def deleteAllFromDb() = db.run(queries.deleteAllFromDb())
   [error]     |      ^
   [error]     |Double definition:
   [error]     |def deleteAllFromDb(): concurrent.Future[Int] in class 
JdbcDurableStateStore at line 238 and
   [error]     |def deleteAllFromDb(): concurrent.Future[Int] in class 
JdbcDurableStateStore at line 238
   [error]     |have the same type after erasure.
   [error]     |
   [error]     |Consider adding a @targetName annotation to one of the 
conflicting definitions
   [error]     |for disambiguation.
   ``` 
   
   from 
https://github.com/mdedetrich/incubator-pekko-persistence-jdbc/blob/8e9b0129fe448b3601db1386f3cbaabf499ebda6/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/JdbcDurableStateStore.scala#L238
   
   and 
   
   ```
   [error] -- [E120] Naming Error: 
/Users/mdedetrich/github/incubator-pekko-persistence-jdbc/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/JdbcDurableStateStore.scala:64:17
 
   [error] 64 |  final lazy val queries = new DurableStateQueries(profile, 
durableStateConfig)
   [error]    |                 ^
   [error]    |Double definition:
   [error]    |final lazy val queries:
   [error]    |  org.apache.pekko.persistence.jdbc.state.DurableStateQueries in 
class JdbcDurableStateStore at line 64 and
   [error]    |final lazy val queries:
   [error]    |  org.apache.pekko.persistence.jdbc.state.DurableStateQueries in 
class JdbcDurableStateStore at line 64
   ```
   
   from 
https://github.com/mdedetrich/incubator-pekko-persistence-jdbc/blob/553dcbfe91030051f2139a5288be3c6280632780/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/JdbcDurableStateStore.scala#L64


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to