Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,13 @@ We are moving away from native support for Yup validation. We are now supporting

## API

`resolver(schema: object, config?: object)`
`resolver(schema: object, schemaOptions?: object, resolverOptions: { mode: 'async' | 'sync' })`

| | type | Required | Description |
| ------ | -------- | -------- | -------------------------------------- |
| schema | `object` | ✓ | validation schema |
| config | `object` | | validation schema configuration object |
| | type | Required | Description |
| --------------- | -------- | -------- | --------------------------------------------- |
| schema | `object` | ✓ | validation schema |
| schemaOptions | `object` | | validation library schema options |
| resolverOptions | `object` | | resolver options, `async` is the default mode |

## Quickstart

Expand Down