mlanin / laravel-api-debugger

Easy debug for your JSON API.
http://blog.lanin.me/easy-debug-for-your-json-api/
MIT License
233 stars 54 forks source link

Handled unknown response objects that contain json body #10

Closed MASNathan closed 5 years ago

MASNathan commented 6 years ago

Dingo uses it's custom Response object that, unfortunately, does not extend JsonResponse

The changes that I've made are not limited to Dingo responses, in any Response object has a json content-type (we assume that has a json body) we'll handle the debug workflow as intended.

Hope that can help someone else 😄