ajv-validator / ajv-validator/ajv-cli

unknown keyword "errorMessage"

Open
#238 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
316
Forks
77
PR merge metrics
No merged PRs in 30d

Description

Schemas using "errorMessage" or "message" keywords fail validation/compilation with the above error. Of course you can get past it by disabling strict mode (`--strict=false`), but it seems like you shouldn't have to give up strict mode to make it accept valid keywords. I tried `-c ajv-errors` to no avail.

Am I missing something obvious, or does the CLI just not have any way of loading the ajv-errors package (or others)?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.