-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Remove non-final readonly classes #60148
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
Conversation
f618ad7
to
47e92c3
Compare
47e92c3
to
bbba700
Compare
/** | ||
* Configures a class or a property to map to. | ||
* | ||
* @internal | ||
* | ||
* @author Antoine Bluchet <soyuka@gmail.com> | ||
*/ | ||
readonly class Mapping | ||
final class Mapping extends Map |
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.
Do we really want to introduce this type inheritance?
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.
the class is internal so we can undo it at will. For now, it prevents duplicate definitions/docblocks IMHO
Those are just annoying from a maintainer PoV, without providing us any extra maintenance flexibility (quite the contrary).