Skip to content

Commit

Permalink
Update Validation-and-Serialization.md (fastify#3053)
Browse files Browse the repository at this point in the history
  • Loading branch information
fralonra authored May 2, 2021
1 parent 88ede94 commit 7d9b587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Validation-and-Serialization.md
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ fastify.setValidatorCompiler(({ schema, method, url, httpPart }) => {
return ajv.compile(schema)
})
```
_**Note:** If you use a custom instance of any validator (even Ajv), you have to add schemas to the validator instead of Fastify, since Fastify's default validator is no longer used, and astify's `addSchema` method has no idea what validator you are using._
_**Note:** If you use a custom instance of any validator (even Ajv), you have to add schemas to the validator instead of Fastify, since Fastify's default validator is no longer used, and Fastify's `addSchema` method has no idea what validator you are using._

<a name="using-other-validation-libraries"></a>
##### Using other validation libraries
Expand Down

0 comments on commit 7d9b587

Please sign in to comment.