Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scala 3 Auto Derivation doesn't seem to work #426

Open
yzia2000 opened this issue Dec 3, 2022 · 0 comments
Open

Scala 3 Auto Derivation doesn't seem to work #426

yzia2000 opened this issue Dec 3, 2022 · 0 comments

Comments

@yzia2000
Copy link

yzia2000 commented Dec 3, 2022

Hi recently migrated my codebase to Scala 3. But it seems that the old test cases that use shouldMatchTo seem to complain

    ??? shouldMatchTo ???

With this error:

1. value shouldMatchTo is not a member of Dto.
   Extension methods were tried, but could not be fully constructed:
   
       com.softwaremill.diffx.scalatest.DiffShouldMatcher.shouldMatchTo[
         Dto
       ](
         

  Note: given instance indicator in trait AutoDerivation was not considered because it was not imported with `import given`.

Can someone help me with this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant