Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.
This repository was archived by the owner on Jan 24, 2025. It is now read-only.

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

@yzia2000

Description

@yzia2000

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions