Jan 6, 2022
Have you looked at doing this with Scala 3 instead of Scala 2? I am only really beginning moving from Scala 2 to Scala 3, but my understanding is that some of the changes that were made include making type classes more straightforward.
The tooling has largely caught up enough with Scala 3. If you have a build.sbt that sets `scalaVersion := "3.1.0"` tools like sbt and Metals seem to do everything fine.