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

Migration guide for decimals #412

Merged
merged 4 commits into from
Oct 4, 2018
Merged

Conversation

fedefernandez
Copy link
Contributor

@fedefernandez fedefernandez commented Oct 2, 2018

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:

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
Copy link
Contributor Author

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.

@fedefernandez fedefernandez force-pushed the ff/decimal-migration-guide branch from e9947df to c2359a7 Compare October 3, 2018 10:23
@fedefernandez fedefernandez changed the title WIP - Migration guide for decimals Migration guide for decimals Oct 3, 2018
Copy link
Member

@juanpedromoreno juanpedromoreno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @fedefernandez ! 👌

@fedefernandez
Copy link
Contributor Author

@juanpedromoreno I've added the disclaimer in the migration guide and removed the bigDecimal object to avoid conflicts. Please, review it again when you have a chance. Thanks

@fedefernandez fedefernandez force-pushed the ff/decimal-migration-guide branch from c7918fe to 51f6dbf Compare October 4, 2018 10:06
@fedefernandez fedefernandez merged commit 36311a0 into master Oct 4, 2018
@fedefernandez fedefernandez deleted the ff/decimal-migration-guide branch October 4, 2018 14:37
cb372 added a commit that referenced this pull request Apr 24, 2020
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.
cb372 added a commit that referenced this pull request Apr 24, 2020
* 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.
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

Successfully merging this pull request may close these issues.

2 participants