-
Notifications
You must be signed in to change notification settings - Fork 28
Can not pass null to List typed Cloud function parameters #5590
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
Comments
Hello! I'm sorry to hear you're experiencing this issue. I’ve reviewed your project and understand what you're referring to. It seems that this is a limitation with list-type parameters, likely to prevent errors. A simple workaround you can implement is to send an empty list instead of Let me know if this helps resolve the issue. Best regards. |
Thank you for the reply. Thinking of the workarounds, I had set up an emptyString constant in the project but it also threw an error saying constant shouldn't be empty. I understand the workarounds. Though note that these are needed for each list with a different data type e.g. list of songs, list of artists etc all require creating different placeholders. So whilst there is a workaround, when combined it causes nuisance and creates clutter in the apps. |
Hello again! |
This issue is stale because it has been open for 7 days with no activity. If there are no further updates, a team member will close the issue. |
Can we access your project?
Current Behavior
Although the parameter is marked as Nullable, I get an error when I leave the input list fields empty.
Expected Behavior
Should allow leaving the field null and not throw an error.
Steps to Reproduce
Reproducible from Blank
Bug Report Code (Required)
ITEeicqB35RIpbxJ17rQa+xapwMwJ0QlUIInj+0bWRMhfLLpOokUfMn4alpLYtecdwlAIlmkqzkDpK3xkobPOMAVGE+BfIhOzJRXQQHKQnOtMoiJC5CST3B7L+9WN0yy06aRuyVSH/pqSF473E6Pe/CNG3qCf9qOYwx5e6fDbOY=
Visual documentation
Environment
Additional Information
No response
The text was updated successfully, but these errors were encountered: