RJR
Convex Community4y ago
12 replies
RJ

Recursive + `any` schema types

Related questions:
- Is there any way to define a recursive SchemaType?
- Is there any way to describe an untyped field in a [typed] schema? Consider:
export default defineSchema({
  myTable: defineTable({
    typedThing: s.array(s.string()),
    untypedThing: s.any(),
  })
})
Was this page helpful?