make clear that one should use DependencySerializationTrait when using dependency injection

Created on 8 April 2024, 7 months ago
Updated 23 April 2024, 7 months ago

Problem/Motivation

The example of a form decorator that uses dependency injection runs into fatal when the object is serialized (AssertionError: The container was serialized. in assert()).

This can be avoided by using the DependencySerializationTrait.

Proposed resolution

Add the DependencySerializationTrait in the example module.

📌 Task
Status

Fixed

Version

1.0

Component

Documentation

Created by

🇩🇪Germany Harlor Berlin

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024