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

fix(validation_error): replace boolean filter with isNotNil filter on path. #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

samishal1998
Copy link

This is to allow for 0 index in array schemas

This is what I'm receiving from v1.3.0

{
  "choices.text": "option must have a value",
  "choices.1.text": "option must have a value",
  "choices": "Options must be unique"
}

it should be

{
  "choices.0.text": "option must have a value",
  "choices.1.text": "option must have a value",
  "choices": "Options must be unique"
}

… path.

This is to allow for 0 index in array schemas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant