symfony-jsonapi: Related Doctrine Entities fail with empty document?
When I try to serialize a doctrine that has related entities, I get a blank 500 error and have to dig through my logs to figure out what happened.
It looks like itโs boiling down to a nesting max depth error:
[Thu Nov 19 11:58:08.370490 2015] [:error] [pid 18288] [client 10.0.0.70:50204] PHP Fatal error: Maximum function nesting level of '256' reached, aborting! in Unknown on line 0
Any ideas on serializing related Doctrine entities?
About this issue
- Original URL
- State: open
- Created 9 years ago
- Comments: 16 (7 by maintainers)
Can anybody post an example or gist of a hack on how to get around this? Would be greatly appreciated ๐
Any news on this front? Or any orkarounds to make actual practical use of this? Because I really want to implement this