-
Notifications
You must be signed in to change notification settings - Fork 34
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
Migration guide for decimals #412
Conversation
It adds the legacy modules for ease client adoption
private val adtGenerator = mainGenerator.copy(avroScalaCustomTypes = | ||
Some(AvroScalaTypes.defaults.copy(protocol = ScalaADT))) // ScalaADT: sealed trait hierarchies | ||
private val adtGenerator = mainGenerator.copy(avroScalaCustomTypes = Some( | ||
mainGenerator.avroScalaTypes.copy(protocol = ScalaADT))) // ScalaADT: sealed trait hierarchies |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe I should create a small PR against master to fix this.
e9947df
to
c2359a7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @fedefernandez ! 👌
@juanpedromoreno I've added the disclaimer in the migration guide and removed the |
c7918fe
to
51f6dbf
Compare
These were added in #412 to aid migration due to a change in v0.15.1. This was way back in 2018, before Mu was even called Mu. I think people have had enough time to migrate by now.
* Delete unused class * Remove the legacy-avro-decimal-compat modules These were added in #412 to aid migration due to a change in v0.15.1. This was way back in 2018, before Mu was even called Mu. I think people have had enough time to migrate by now.
Adds the needed modules for ease the migration to the new decimal serializers.
Added a new doc page, not sure if I need to list it in any place.
I've also finished the repository with the example: