Deprecate Drupal ProxyBuilder in favor of Symfony lazy services

Created on 26 October 2023, about 1 year ago
Updated 29 February 2024, 11 months ago

Problem/Motivation

In πŸ“Œ Update to Symfony 6.4 Needs work we decided to convert both BookNavigationCacheContext and MenuActiveTrailsCacheContext into lazy services.

Whilst looking into this, I've stumbled over the way core currently handles this: Using a script to create a Proxy class.

Looking at https://symfony.com/doc/current/service_container/lazy_services.html Symfony supports this natively (since 6.2 without additional packages/traits).

Steps to reproduce

Proposed resolution

Replace our proxy lazy service solution with the native one from Symfony itself.

This would get us more "of the island", reduce custom solutions we have to maintain.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Closed: won't fix

Version

11.0 πŸ”₯

Component
BaseΒ  β†’

Last updated 36 minutes ago

Created by

πŸ‡³πŸ‡±Netherlands spokje

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024