Allow DependencySerializationTrait to work with readonly properties

Created on 28 February 2024, 12 months ago

Problem/Motivation

DependencySerializationTrait sets values on properties. As on PHP 8.1 these properties can be marked readonly. This can cause problems.

Steps to reproduce

Add a readonly service property to a form.

Proposed resolution

Do something like what is suggested on https://github.com/Ocramius/GeneratedHydrator/issues/656

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component
BaseΒ  β†’

Last updated about 8 hours ago

Created by

πŸ‡¬πŸ‡§United Kingdom alexpott πŸ‡ͺπŸ‡ΊπŸŒ

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

Comments & Activities

Production build 0.71.5 2024