Skip to content

Conversation

@bbakerman
Copy link
Member

Because Coercing is a SPI, leaving the deprecated methods undefaulted means that people MUST implement the old methods even though they won't be called

This defaults them. It does introduce possible confusion since no methods needs to be implemented like before however this is clear in reality - You need to implement the non deprecated methods and if you don't it will throw an exception

@bbakerman bbakerman added this to the 21.0 milestone Dec 28, 2022
Copy link

@Ernir Ernir left a comment

Choose a reason for hiding this comment

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

Tried this out locally in the project mentioned in this discussion, this provides the migration path I was looking for. :)

Looking forward to this release, thanks a lot!

@bbakerman bbakerman merged commit 2b29739 into master Jan 30, 2023
@andimarek andimarek modified the milestones: 21.0, April 2023 Mar 21, 2023
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.

5 participants