Date is not a supported Convex type in v.any() field.
We are trying to store the messages of an AI SDK chat in the following field:
messages: v.array(v.any())When trying to insert the messages we get the following error:
Date "2025-05-13T12:03:51.916Z" is not a supported Convex typeAn example of the input json is:
Why does convex try to parse the string into a date object and not just use a string when I specify
`v.any()?