Recursive schemas and deep-partial checks
CommentDto.replies refers to itself. assert checks only the fields you pass,
at any depth
(comments.test.ts):
const tree = await bob.comments.list({ path })tree.assert(200, [{ text: 'a', replies: [{ text: 'b', replies: [{ text: 'c', replies: [] }] }] }])Privacy-friendly analytics, no cookies.