Skip to content

Commit

Permalink
fix(docs): add info on action-based sequences
Browse files Browse the repository at this point in the history
Signed-off-by: Rifa Achrinza <[email protected]>
  • Loading branch information
achrinza committed Dec 17, 2020
1 parent 3a05785 commit 883e9b3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/site/Validation-REST-layer.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,11 @@ of 10 digits separated by `-` after the 3rd and 6th digits.

## Customize validation errors

{% include note.html content="This section describes customization for legacy
[Action-based sequences](./REST-Action-sequence.md). Most LoopBack 4
applications utilize the new
[Middleware-based sequences](./REST-Middleware-sequence.md)." %}

Since the error is being caught at the REST layer, the simplest way to customize
the errors is to customize the
[sequence](https://loopback.io/doc/en/lb4/Sequence.html). It exists in all
Expand Down

0 comments on commit 883e9b3

Please sign in to comment.