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

Force users to explicitly enable auto typeclass derivation #544

Open
RustedBones opened this issue Jun 23, 2022 · 0 comments
Open

Force users to explicitly enable auto typeclass derivation #544

RustedBones opened this issue Jun 23, 2022 · 0 comments

Comments

@RustedBones
Copy link
Contributor

I'm wondering if we can use the artifact change release to put some breaking changes into magnolify.

I noticed that depending on the module, the automatic derivation is not always in the same package:

  • eg. scalacheck is in magnolify.scalackeck.auto._
  • eg. avro is in magnolify.avro._

When looking at diffx (which is one common library using magnolia), they really separate the auto derivation:

Auto derivation might have a huge impact on compilation times, because of that it is recommended to use semi-auto derivation.

We should probably do the same. This would however break compilation of most projects using magnolify but can be resolved by adding the new auto import

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