Skip to content

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

@jakebman

Description

@jakebman

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions