Top Categories
Exploring the Symfony Serializer - Circular Reference (Thoughts)
- Category: Information Technology
- Sub Category: Web Development
Final part which consist of just some "incomplete" thoughts on how to deal with Circular reference exception when using the Symfony Serializer Component, this goes through how you would use the MaxDepth annotation to avoid the Circular Reference Exception, also the CircularReferenceHandler which yo
Final part which consist of just some "incomplete" thoughts on how to deal with Circular reference exception when using the Symfony Serializer Component, this goes through how you would use the MaxDepth annotation to avoid the Circular Reference Exception, also the CircularReferenceHandler which you can use to return whatever you want instead of returning the same object and be stuck in an infinite loop, the last thing is the ignore attributes option which as you saw i didn't show anything useful in that area, you HAVE to figure that one out by yourself.
List of videos:
Symfony Serializer : part 1 - https://youtu.be/-UMFZf27T6w
Symfony Serializer : part 2 - https://youtu.be/xqc4NmaSzoc
Symfony Serializer : part Circular Reference - https://youtu.be/5fqnjPD1dxs