-
-
Notifications
You must be signed in to change notification settings - Fork 559
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some errors generated by Goa are specific to fields- this commit ensures we populate `Field` of ServiceError when this is the case. An example would be when a field has a validation like `MinLength(1)` or similar, where the cause of the error is a specific part of the payload. It's often useful to retrieve this field, so that people can use this field to attach errors to the right form input, this being just one important use case.
- Loading branch information
1 parent
859e6a3
commit f97969f
Showing
1 changed file
with
21 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters