Ghost/core/server/data/validation
Hannah Wolfe 545bea0eaf Return a single 422 error for invalid values
refs #5808

- Fix the API to return a single 422 error when an invalid value is passed
- Only affects Browse, and not Read at present due to differences in how they are handled
- Frontend was changed to always 404 in #5851
- Adds tests to ensure all cases are covered
2015-09-25 10:30:49 +01:00
..
index.js Return a single 422 error for invalid values 2015-09-25 10:30:49 +01:00