Michal SrbM
Convex Community2w ago
1 reply
Michal Srb

Extend two object validators

🎁Feature Request
I would expect

schema.tables.runs.validator.extend(schema.tables.runDatas.validator)

to work, but instead I have to do:

schema.tables.runs.validator.extend({
  runData: schema.tables.runDatas.validator,
}

to appeas the typechecker.
Was this page helpful?