onUpdate
handler that calls the corresponding trpc.days.update.mutate
endpoint. Just before that call the day object has Date fields, not strings, but I am getting an error from zod validation complaining about recieving strings, not Dates. The schema it's checking against is generated by running
export const updateDaySchema = createUpdateSchema(daysTable)
which is the pattern the tanstack-db-web-starter
repo follows as well
thanks in advance for any advice!