Open mhsdesign opened 1 year ago
Implementing this might make https://github.com/neos/flow-development-collection/issues/2966 easier ^^
This would also allow the Symfony\Component\Serializer\Normalizer\ObjectNormalizer
to work with proxy classes see https://github.com/neos/neos-development-collection/blob/0976d919a6268f58e05f827793cd78fecd12c1ea/Neos.ContentRepositoryRegistry/Classes/Infrastructure/Property/Normalizer/ProxyAwareObjectNormalizer.php#L12
see https://github.com/neos/flow-development-collection/pull/3082/commits/2f7003f34346a8f6b7131acdaed7f9ce818a1386
for a failing test to prove ;)
you cant currently instantiate this like
as the constructor of the proxy class will have no arguments.
a proxy constructor looks like:
the proxy constructor should have all arguments, but nullable