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

Invalid format type for list fields #191

Open
gritdu opened this issue Aug 15, 2023 · 0 comments
Open

Invalid format type for list fields #191

gritdu opened this issue Aug 15, 2023 · 0 comments

Comments

@gritdu
Copy link

gritdu commented Aug 15, 2023

I get an Invalid format type error when I'm using @constraint(format: "someFormat") for list input fields.

The method "validateArrayTypeValue" in query-validation-visitor.js gives "this.options" as a parameter to "validateInputTypeValue" / "validateScalarTypeValue". But this.options is always undefined because the function does not belong to a ValidationVisitor class. I think, that "validateArrayTypeValue" needs a parameter "options" as the other validate functions.

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

No branches or pull requests

1 participant