#110633Inject ConnectionPool into ReactionRepository
Description
ReactionRepository currently creates ConnectionPool through
GeneralUtility::makeInstance() whenever it needs a query builder.
As the repository is already instantiated through dependency injection in
production, ConnectionPool can be provided through constructor injection.
This makes the dependency explicit and removes the service-locator call.
Update the functional tests to resolve ReactionRepository from the TYPO3
dependency injection container instead of instantiating it directly.
This is an internal refactoring without behavioral changes. The existing
repository and reaction functional tests cover the affected functionality.
Reviews 1
History 12
-
Gerrit Code Review pushed patch set 1 for main to change 95657 status
NewUnder Review <span data-processor="relativetime" data-value="2026-09-04T19:58:58+00:00" > 09/04/26, 19:58 </span> -
Wouter Wolters commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-09-07T06:35:09+00:00" > 09/07/26, 06:35 </span>
Applied in changeset commit:b0ea72e2c0bd4af1d340ce2a602e763abcc35aa6.