posted 1 year ago
Hello,
I have a many-to-many relation defined like:
My Role entity:
If I do a GET with Postman and the parts mentioned commented out are inactive, than I get in my opinion the right data for the response:
Technically I have find out were it comes from, if i activate the lines which I have mentioned "commented out", than it is getting recurence!!??
I have roles added to the employee that's good. But the GET is also returning the roles wiht the employee etc.
My Question: why is this made in this way? And when do I need this? I mean I can't imagine if you are working on an entity, that a response as shown here beneath would be used for the frontend, or...