fix: #3588477 ensure services using closures can be serialized

The only other class making use of the AutowireServiceClosure attribute is the TrashIgnoreSubscriber event subscriber, but that's probably never cached, so leaving it for now.

Closes #3588477

Merge request reports

Loading