Skip to content
Snippets Groups Projects
Unverified Commit c3d1a35b authored by Bryan Maass's avatar Bryan Maass Committed by GitHub
Browse files

Ensure api errors remain strings + provide structural hints (#27563)

* - ensure errors are strings + provide strucrual hints

Instead of just overwriting the (string) erorr messages, swap in the
malli string description at [:errors :<field-name>] key. Adds humanized
error (which highlights which parts of req were not sufficient) under
the :specific-errors key.

* fix tests + note about auto-cohersion
parent 2cd0bb39
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment