-
-
Notifications
You must be signed in to change notification settings - Fork 374
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
Revise existing case classes to prepare a better binary compatibility story #4480
Comments
I think once the |
Ok, that must be new. I didn't know |
Yeah it handles |
So, how do I prevent an |
In Scala 3 |
Following this document: Binary Compatibility for library authors, we should revise our existing API to prepare easier backward compatible changes.
For case classes, this means:
Optional, if the case class is meant to be changed by the API use regularly, you should also add a
withXXX
-method. Otherwise, theapply
-method should be already sufficient.The text was updated successfully, but these errors were encountered: