79302254

Date: 2024-12-23 05:52:48
Score: 3
Natty:
Report link

It will get infinite response because you are returning employeeDto, employeeDto has departmentDto and again departmentDto has employeeDtoList and so on this is going in infinte loop, you have only used JsonIgnore in entities not on dtos.and you are returning dto so You have to use @JsnoIgnore on Dto also.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @JsnoIgnore
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: kush parsaniya