Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize Ajv validator with option verbose:true #1337

Closed
1 task done
nkarip opened this issue Jun 26, 2019 · 2 comments
Closed
1 task done

Initialize Ajv validator with option verbose:true #1337

nkarip opened this issue Jun 26, 2019 · 2 comments

Comments

@nkarip
Copy link

nkarip commented Jun 26, 2019

Prerequisites

Description

Request new feature to initialize Ajv validator with option verbose: true (default is false). This provides parentSchema object in error and makes it easier to create a user-friendly error message (using field title). In validate.js would need to modify createAjvInstance to add option verbose: true to new Ajv instance.

@stale
Copy link

stale bot commented Apr 15, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please leave a comment if this is still an issue for you. Thank you.

@stale stale bot added the wontfix label Apr 15, 2022
@stale stale bot closed this as completed May 1, 2022
@heath-freenome
Copy link
Member

FYI, the v5 refactor of the validator code now supports this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants