Query functions caching fails when used with third party libraries
Problem: Convex disables caching when the Date constructor is invoked. However, the date constructor is not always invoked by the dev, but could be by a third party library (such as date libraries that are used to parse and transform dates).
This results in the query being uncached and an elevated number of row reads.
Proposal: The build should fail if the a query uses the Date constructor, requiring the user to explicitly call a method
ctx.disableCache() at the start of the query.