beberlei / litecqrs-php

Small convention based CQRS library for PHP
MIT License
553 stars 47 forks source link

LiteCQRS incompatible with JMS Serilizer > 0.9 #37

Open mbadolato opened 11 years ago

mbadolato commented 11 years ago

JMS changed things between 0.9 and 0.10. The more minor of the changes is the change from \SerializerBundle to \Serializer in the paths for Annotations etc. Not a big deal.

The big deal, however, is the removal of of SerializationHandlerInterface and DeserializationHandlerInterface. I am not familiar enough (yet) with LiteCQRS's internals to know how the handlers need to be tweaked.

Hopefully this is something that could be rectified/implemented quickly by @beberlei, as we're trying to downgrade to Serialize 0.9 in our project but it look like that is breaking other things by doing that.

[edit: Yep, downgrade totally hosed things for us, so 0.9 isn't option. Need to temporatily work around this by not using JMS Serializer in my objects where LiteCQRS is used otherwise we get a path issue when LCQRS tries to look for JMS\SerializerBundle\Annotation since that's now incorrect]

Details in the JMS Serializer Bundle Upgrading doc