-
Notifications
You must be signed in to change notification settings - Fork 27
Description
Is your feature request related to a problem? Please describe.
We are currently using interfaces excessively, even for Configs, DTOs or domain model objects. However when it comes to versioning extending an interface is breaking, extending a class a minor. And in many cases we don't even support other implementations as we often have a mandatory base class implementation.
Describe the solution you'd like
I recommend limiting interfaces from now on and declaring any unnessary ones as deprecated. In case of deprecated interfaces we should make future extensions to the class only to encourage users to switch and ease future removal of those interfaces.
Additional context
This issue will remain open and can be referenced by any commits that deprecate interfaces.