Asmir Mustafic
Asmir Mustafic
@re2bit I've left [this](https://github.com/re2bit/serializer/commit/ff5d732ce261e78b49935883bcf02cb60f5da295#r58578062) comment. I think that if such change can be done, the PR can be accepted.
Would love to have this feature, I just have no idea how to implement it :)
moving this outside of the 2.0 release as it can be implemented later as new feature
but, after some thinking not sure if it makes sense implementing it anyway...
`VirtualProperty` without the `name` param tries to infer some name automatically, that might conflict with another property that could be already present in the class. ( i can see a...
https://github.com/gnat42/serializerTest/blob/c3710dae5ced2af00987d8403f221b53d935f6a1/src/SimpleObject.php#L43 will probably be just ignored since later is overridden by another property with the same name.
If you look in the output of https://github.com/gnat42/serializerTest/blob/c3710dae5ced2af00987d8403f221b53d935f6a1/tests/SimpleObjectTest.php#L30 you should see also a prop named "second"
did you clear the cache ?
Thanks for reporting the issue, but jms/serializer metadata are per class. There is no per interface metadata.
Serializat