ml-archive / forms

Tools for working with Forms in Vapor
MIT License
7 stars 0 forks source link

Make it possible to return a list of errors through JSON #14

Open steffendsommer opened 6 years ago

steffendsommer commented 6 years ago

Consider making a "mode" where it's possible to not break on the first encountered error, but instead return a list of errors for the fields specified.

We should probably also have a look at https://github.com/nodes-vapor/readme/blob/master/Documentation/how-to-write-apis.md to specify how we want to handle this in general.