Review main Abandoned Breaking

90537[!!!][FEATURE] Add TypolinkBuilderInterface with automatic DI

Benni Mack CR 0 V 0 Expert +742 −329 updated 09/01/25, 20:36

Commit message

Introduces a new TypolinkBuilderInterface to replace the previous
AbstractTypolinkBuilder approach, enabling proper dependency injection
for TypolinkBuilder implementations.

Key changes:
* New TypolinkBuilderInterface with buildLink() method
* All core TypolinkBuilder implementations now use DI
* Automatic DI configuration for all interface implementations
* AbstractTypolinkBuilder constructor removed (breaking)
* build() method deprecated in favor of buildLink()

All implementations of TypolinkBuilderInterface are automatically
configured as public services via DI container autoconfiguration,
eliminating the need for manual service configuration.

The new buildLink() method provides request context directly
and supports proper dependency injection patterns.

Breaking changes:
* AbstractTypolinkBuilder constructor signature changed
* Method signatures changed from build() to buildLink()
* Custom implementations must implement the new interface

Deprecations:
* AbstractTypolinkBuilder->build() method
* AbstractTypolinkBuilder->$contentObjectRenderer property

Review

  • Code review CR 0
  • Verified V 0

Issues 1

Files 24

Show 4 more files

Review log 2

  1. Benni Mack uploaded patch set 1 09/01/25, 20:35

  2. Benni Mack abandoned the change 09/01/25, 20:36

    wrong push