Better filter and sort validation error handling #209
arthurio
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Main contributions
This change affects the content of
detail
in the error response (not the response code itself). Instead of a string, the content ofdetail
is now a list, e.g.:{'detail': [{'loc': ['query', 'bogus_filter'], 'msg': 'field required', 'type': 'value_error.missing'}]}
. Make sure to update your error handlers accordingly!Full Changelog: v0.5.0...v0.5.1
This discussion was created from the release Better filter and sort validation error handling.
Beta Was this translation helpful? Give feedback.
All reactions