Toon Verwerft

Results 280 comments of Toon Verwerft

Hello @TomHAnderson We are no longer using Apigility at PHPro anymore. Therefor, it is hard for me to make the correct decisions for this package. Feel free to use this...

The hydration of the object still respects the by_value configuration. The strategy is something that is configured to extract / hydrate a property. So the strategy does not NEED to...

This can be fixed by adding a custom strategy. Personally I have never encountered a situation where I wanted to create a referenced resource at the same time as attaching...

The failing tests are due to: https://github.com/phpro/zf-doctrine-hydration-module/issues/20

The problem is that the base hydrator does not make it possible to inject any additional services. This means this is something that could be fixed for the ODM DoctrineObject,...

You could use one of the default strategies in DoctrineModule. These make it possible to call the add\* and remove\* methods for collections. The entity will contain the logic to...

Hello @santiph, Assume following simplified json to start with: ``` GET /Albums/:album_id { "artist": [ {"id":123}, {"id":456}, {"id":789} ], "tracks": [ {"id":111}, {"id":222}, {"id":333} ] } ``` As you can...

Sorry for the late response, I was on a 2 weeks vacation. Can you please explain to me why you need this chain of strategies? If you want to hydrate...

Hello @akomm, It looks like I did not phrase the question very wel. Let me try again: Why do you want to use a chain? Can you give me a...

Hi @akomm, That seems like a valid use-case. If you want, you can work it out and create a PR for this strategy chain. Thanks!