Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: mention ContextBuilder returned from #check() #972

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/api-check.md
Expand Up @@ -10,7 +10,7 @@ These methods are all available via `require('express-validator')`.
- `field` _(optional)_: a string or an array of strings of field names to validate against.
- `message` _(optional)_: an error message to use when failed validators don't specify a message. Defaults to `Invalid value`; see also [Dynamic Messages](feature-error-messages.md#dynamic-messages).

> _Returns:_ a [Validation Chain](api-validation-chain.md)
> _Returns:_ a [Validation Chain](api-validation-chain.md) and `{ builder: ContextBuilder }` that can be used to create third party libraries.

Creates a validation chain for one or more fields. They may be located in any of the following request objects:

Expand Down