Object mapping loop #11545
Unanswered
Nexus633
asked this question in
Support Questions
Object mapping loop
#11545
Replies: 1 comment 2 replies
-
Use a serializer library such as Symfony Serializer and tell it to ignore that property. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I have the following problem.
If I now call the employee, I automatically get the Assignments object. That's how it should be! However, it now constantly nests the employee with the assignment. As soon as I want to send the object as JSON via an API, everything crashes. A loop is created!
How can I prevent this?
Beta Was this translation helpful? Give feedback.
All reactions