We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Validators with field.type set to an array fail even when an array is provided.
field.type
Create a cloud function with a validator for fields of type Array, then call the function with an array
Allow cloud function to run.
Error: Validation failed. Invalid type for data. Expected: array
Server
FILL_THIS_OUT
Database
Client
The text was updated successfully, but these errors were encountered:
🎉 This change has been released in version 5.0.0-beta.1
Sorry, something went wrong.
🎉 This change has been released in version 5.0.0
Successfully merging a pull request may close this issue.
New Issue Checklist
Issue Description
Validators with
field.type
set to an array fail even when an array is provided.Steps to reproduce
Create a cloud function with a validator for fields of type Array, then call the function with an array
Actual Outcome
Allow cloud function to run.
Expected Outcome
Error: Validation failed. Invalid type for data. Expected: array
Failing Test Case / Pull Request
Environment
Server
FILL_THIS_OUT
FILL_THIS_OUT
FILL_THIS_OUT
Database
FILL_THIS_OUT
FILL_THIS_OUT
FILL_THIS_OUT
Client
FILL_THIS_OUT
FILL_THIS_OUT
Logs
The text was updated successfully, but these errors were encountered: