Commit Graph

4 Commits

Author SHA1 Message Date
Ale Mohamad ⌘ a0ec345aab
Update of custom validator documentation in Spanish (#1052)
Update of custom validator documentation in Spanish from the issue
#1041.

---------

Co-authored-by: TheHandyOwl <24987271+TheHandyOwl@users.noreply.github.com>
2025-01-15 23:29:57 +01:00
William Adonis 0946bf8f8b
feat(validation.md): added custom validator documentation (#1016)
I created a [PR](https://github.com/vapor/vapor/pull/3263) earlier
today, adding in a custom validator called `Custom`. This allows users
to easily create custom validations, it is simpler to use and shorter in
syntax compared to the current [Custom
Validators](https://docs.vapor.codes/basics/validation/#custom-validators).

This PR also resolves [this
issue](https://github.com/vapor/docs/issues/1015)

---------

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2025-01-01 17:15:56 +00:00
Hadi Sharghi 882b8a521f
add Custom Validator section to Validation docs (#935)
<!-- Describe your changes clearly and use examples if possible. -->
Add a section about Custom Validators, and a sample to create a custom
validator for zip codes. The sample is from a code that @0xTim had been
provided in an issue.
<!-- When this PR is merged, the title and body will be -->
Add 'How to create custom validators' to docs.
<!-- used to generate a release automatically. -->

---------

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2023-11-09 12:28:21 +00:00
晋先森 fee911560f
Support Chinese doc for Vapor. (#664)
* # Support Chinese doc for Vapor.

* # Added `zh/` path for searchIndex file.
2022-05-15 05:07:28 +01:00