Skip to content

Commit

Permalink
style(validation.md): simple typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamFernsV3 committed Dec 4, 2024
1 parent d110a10 commit 9af0e00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/basics/validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ validations.add("zipCode", as: String.self, is: .zipCode)
The `Custom` validator is best suited for cases where you want to validate a property in only one `Content` object. This implementation has the following two advantages compared to extending the Validation API:

- Simpler to implement custom validation logic.
- Shorter syntax
- Shorter syntax.

In this section, we'll walk you through the steps to create a custom validator for checking whether an employee is part of our company by looking at the `nameAndSurname` property.

Expand Down

0 comments on commit 9af0e00

Please sign in to comment.