All container injection instantiation should use DI in function calling

Created on 18 September 2025, 4 months ago
Updated 19 September 2025, 4 months ago

Overview

Currently there are function calls like CreateComponent.php that loads the parent object via class instantiation. This should be done via dependency injection instead.

Proposed resolution

Change all function calls that are using ContextDefinitionNormalizer to use the service "ai.context_definition_normalizer" instead.

User interface changes

-

🐛 Bug report
Status

RTBC

Version

1.0

Component

AI

Created by

🇩🇪Germany marcus_johansson

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024