-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Entirely remove AbstractComponent #34488
Copy link
Copy link
Closed
Labels
:Core/Infra/CoreCore issues without another labelCore issues without another label>refactoringMetav7.0.0-beta1
Description
AbstractComponent is trouble because its name implies that
everything should extend from it. It is useful, but maybe too
broadly useful. The things it offers access too, the Settings instance
for the entire server and a logger are nice to have around, but not
really needed everywhere.
So we should remove it and everything that needs a logger or a deprecation logger or a settings instance should just declare that it needs it. That way tests don't end up making a Settings instance "just because". That kind of thing makes test much harder to read.
See this comment for the part of this that is a "good first issue".
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Core/Infra/CoreCore issues without another labelCore issues without another label>refactoringMetav7.0.0-beta1
Type
Fields
Give feedbackNo fields configured for issues without a type.