Human readable JSON errors
What does this MR do and why?
- Refactor all validation errors to include human readable translations.
- Refactor and standardize all JSON validator errors returning to the page for a cleaner frontend experience.
- Resolves #440 (closed)
- Resolves #500 (closed)
Screenshots or screen recordings
How to set up and validate locally
Using the API or a tool like burp suite enter bad data into a post or get request that requires JSON payload validation on the server side.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
Have you checked this doesn't interfere/conflict/duplicate someone elses work? -
Have you fully tested your changes? -
Have you resolved any lint issues? -
Have you assigned a reviewer? -
Have you applied correct labels?
Edited by Iain Powrie