the-canonizer / canonizer-service

2 stars 0 forks source link

Service 422 error in case of validation fail #337

Open sajid315 opened 1 month ago

sajid315 commented 1 month ago

In some of the scenario from front-end (when get tree api payload is wrong/invalid) , Get tree API is responding the exception with error instead of json response and proper status code. E.g: Image

In that specific scenario it should respond back with proper message and response as we have generic for all cases.

sajid315 commented 2 weeks ago

This is done and following are the commits about fixing and unit test cases for the issue: https://github.com/the-canonizer/canonizer-service/commit/71b8240cb7d2617c79cc493250ffeaa8b2974659 https://github.com/the-canonizer/canonizer-service/commit/5bb89501c7d694deff0e4895fc5b847561c85ee5

sajid315 commented 1 week ago

PR raised for Iteration 6 branch: https://github.com/the-canonizer/canonizer-service/pull/338