Commit Graph

3 Commits

Author SHA1 Message Date
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
Miguel Piedrafita ed9aec65dc
Fix Error Middleware docs (#981)
[`ErrorMiddleware` is not the only middleware added by
default](cc98361cbe/Sources/Vapor/Middleware/Application%2BMiddleware.swift (L8)).
This PR updates that assertion and the replacement instructions to
re-introduce `RouteLoggingMiddleware`.
2024-05-30 12:53:11 +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