fastify / fastify/help

V5 docs clarification: Is ajv-errors 1.0.1 still the correct version to use, if fastify v4 upgraded to ajv v8?

Open
#1,113 2 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
No language data
Stars
68
Forks
8
Avg merge
11h 2m
Merged PRs (30d)
2

Description

Hi!

There's a note in the Validation and Serialization page that no longer seems valid:

>Install version 1.0.1 of ajv-errors, as later versions are not compatible with AJV v6 (the version shipped by Fastify v3).

https://github.com/fastify/fastify/blob/e1f58aba76e0510cd69e4e69b507598253b70070/docs/Reference/Validation-and-Serialization.md?plain=1#L835

This doesn't seem to be the case, as [Ajv has been upgraded to v8 in Fastify v4](https://github.com/fastify/fastify/blob/e1f58aba76e0510cd69e4e69b507598253b70070/docs/Guides/Migration-Guide-V4.md?plain=1#L229)

Is this correct, or is there a different version of ajv-errors that could/should be used?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.