serializer icon indicating copy to clipboard operation
serializer copied to clipboard

how to call the default deseriliazation of a property in a handler

Open thepercival opened this issue 5 years ago • 0 comments

Q A
Bug report? no
Feature request? no
BC Break report? no
RFC? no

Steps required to reproduce the problem

  1. create a handler
  2. subscribe the handler
  3. do deserialization

When doing deseriliazation in a subscribed handler, is it possible to call the default deseriliazation of a property? Now I am doing someting like this:

$metadataConfig = new StaticPropertyMetadata('Voetbal\Config', "config", $data["config"] ); $metadataConfig->setType(['name' => 'Voetbal\Config']); $roundNumber->setConfig( $visitor->visitProperty($metadataConfig, $data) );

thepercival avatar Jun 15 '19 12:06 thepercival