Asmir Mustafic
Asmir Mustafic
postponed. performance seemed to be worse (??? why) and for now will delay too much the 2.o release
The reason why does not work is https://github.com/schmittjoh/metadata/blob/4f1cd28ff9cc156d06bd25df401369a3d64150f3/src/Metadata/MergeableClassMetadata.php#L16
The error you are describing should be related to something else.. but I agree that would be nice to have a better message in case of no meta data... the...
Why not appending at the end of the driver chain the nulldriver?
I guess here a custom setter here should already solve the issue ```php /** * @var ArrayCollection * @JMS\Type("ArrayCollection") * @Accessor(setter="setCollection") */ protected $collection; public function __construct() { $this->collection =...
> use the DeserializationContext to determine whether to set the value to null or not delegate the decision to the handlers Delegating it to handlers technically might work, but will...
hmm... something as ``` @Accessor(setter="expr(service('my_setter_service').myMethod(value))") ``` might be a nice idea. what do you think?
What do you want to add in the DeserializationContext ? probably I'm not understanding your solution as inside it you have to encode some logic (and DeserializationContext is not meant...
> This way, if we have already set default values via the constructor, they would be untouched. sorry to disappoint you but the constructor is never called by the jms...
see http://www.doctrine-project.org/2010/03/21/doctrine-2-give-me-my-constructor-back.html