Closed ahoiroman closed 6 months ago
Hmm I'm not sure we can do this without a breaking change, so might have to live with it until our next major version… The warning is annoying but everything still works until PHP 9 when dynamic properties will be removed entirely.
If anyone has an idea how we can work around this in a non-breaking way, ideas welcome!
@sebastiandedeyne can this not be solved using an #[\AllowDynamicProperties]
attribute?
Using PHP 8.2, I am getting this deprecation notice, if I set
'dispatch_events_from_aggregate_roots' => true,
:Should be possible to allow dynamic props or define them?