Builds a synthetic object({ params, body, query, headers }) schema from the endpoint's schema definitions and returns its PropertyDescriptorTree so callers can write type-safe selectors like:
object({ params, body, query, headers })
PropertyDescriptorTree
endpoint.cacheTag('todo', p => ({ id: p.query.id, fromBodyId: p.body.id})) Copy
endpoint.cacheTag('todo', p => ({ id: p.query.id, fromBodyId: p.body.id}))
Only non-null schemas are included in the synthetic schema.
Builds a synthetic
object({ params, body, query, headers })schema from the endpoint's schema definitions and returns itsPropertyDescriptorTreeso callers can write type-safe selectors like:Only non-null schemas are included in the synthetic schema.