Skip to content

Commit

Permalink
docs: use links instead of just name (#1255)
Browse files Browse the repository at this point in the history
Co-authored-by: Ganesh Pendyala <lakshmi.ganesh.pendyala@rockwellcollins.com>
  • Loading branch information
lakgani and Ganesh Pendyala committed Feb 11, 2021
1 parent 67c96ae commit da23aea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ Options = {
- `stripUnknown`: remove unspecified keys from objects.
- `recursive`: when `false` validations will not descend into nested schema
(relevant for objects or arrays).
- `context`: any context needed for validating schema conditions (see: `when()`)
- `context`: any context needed for validating schema conditions (see: [`when()`](#mixedwhenkeys-string--arraystring-builder-object--value-schema-schema-schema))

```js
schema.validate({ name: 'jimmy', age: 24 }).then(function (value) {
Expand Down Expand Up @@ -542,7 +542,7 @@ First the legally required Rich Hickey quote:
`withMutation` allows you to mutate the schema in place, instead of the default behavior which clones before each change.
Generally this isn't necessary since the vast majority of schema changes happen during the initial
declaration, and only happen once over the lifetime of the schema, so performance isn't an issue.
However certain mutations _do_ occur at cast/validation time, (such as conditional schema using `when()`), or
However certain mutations _do_ occur at cast/validation time, (such as conditional schema using [`when()`](#mixedwhenkeys-string--arraystring-builder-object--value-schema-schema-schema)), or
when instantiating a schema object.

```js
Expand Down

0 comments on commit da23aea

Please sign in to comment.