schmittjoh/JMSSerializerBundle — pull request #98 by chregu (2012-03-26 14:41:13+00:00)
Title: add a set depth "strategy"

Here's a first draft for adding setDepth to the JMSSerializer. It got a little bit more complicated, so I'm not totally happy. But here's a PR for the discussion of the issue asked for in #61

The test cases should show, how it's supposed to work.

I didn't do this as an exclusion strategy. Maybe that could be done there, too, but I need to track the depth somehow.

Any feedback/input very welcome