Incorrect invalid type error?
When I try to exectute the following code in a convex function:
I get the following error:
It works fine if I do the following:
NOTE: I'm using a promise.all above in the way as I am as a minimal example, in real life its an endpoint that takes a variable length vaccine list.
2 Replies
Thanks for posting in <#1088161997662724167>.
Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets.
- Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.)
- Use search.convex.dev to search Docs, Stack, and Discord all at once.
- Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI.
- Avoid tagging staff unless specifically instructed.
Thank you!
Since all the convex types are actually valid, and the js code is valid, this should be valid?