softwaremill / magnolia

Easy, fast, transparent generic derivation of typeclass instances
https://softwaremill.com/open-source/
Apache License 2.0
764 stars 116 forks source link

Type parameter names should should be dealiased for Scala 3 #467

Closed kciesielski closed 1 year ago

kciesielski commented 1 year ago

This is a follow-up to https://github.com/softwaremill/tapir/issues/2911

The issue in tapir is caused by Magnolia derivation, which doesn't .dealias type parameter names.

This issue doesn't happen for Scala 2, where dealiasing seems to be correctly applied.