-
- Downloads
update `defendpoint` to specifically catch ApiFieldValidationException and...
update `defendpoint` to specifically catch ApiFieldValidationException and format the response to include specific field error notes that a client can more easily use. also updating all of our defannotation calls to use `checkp` and ApiFieldValidationException so that we get our expected output. updated unit tests accordingly.
Showing
- src/metabase/api/common.clj 3 additions, 4 deletionssrc/metabase/api/common.clj
- src/metabase/api/common/internal.clj 5 additions, 1 deletionsrc/metabase/api/common/internal.clj
- test/metabase/api/org_test.clj 6 additions, 6 deletionstest/metabase/api/org_test.clj
- test/metabase/api/session_test.clj 5 additions, 5 deletionstest/metabase/api/session_test.clj
- test/metabase/api/setup_test.clj 8 additions, 8 deletionstest/metabase/api/setup_test.clj
- test/metabase/api/user_test.clj 1 addition, 1 deletiontest/metabase/api/user_test.clj
Please register or sign in to comment