Improvements to AutowireTrait

Created on 7 June 2025, about 20 hours ago

Problem/Motivation

AutowireTrait has some limitations:
This trait uses reflection and may cause performance issues with classes that will be instantiated multiple times.

Add caching to reduce performance issues.
Allow passing extra arguments for the constructor.
Allow optional dependencies.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Feature request
Status

Active

Version

11.0 🔥

Component

base system

Created by

🇬🇧United Kingdom adamps

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

Comments & Activities

Production build 0.71.5 2024