Esta página se publica en inglés. Los contratos y políticas se redactan en inglés para todos los mercados.

Typed APIs with Zod, not hope

If the body is not a schema, it does not touch the database. That one rule removes a class of bugs we are tired of seeing in inherited repos.

Notas de stack

The handler

Parse, reject with a 400 that names the field, then write. Same schema shared with the client when it helps. No `as any` on the way in.

When we add a queue

If the work cannot finish in a request, it goes on a queue with the same schema. Webhooks get a signature check before the schema.

Preguntas

GraphQL?

Not by default. REST or tRPC-shaped routes until the product has a client zoo that needs a graph.

Desde $390 USD · Quoted in 48 hours · aprox. 360 €

Comparar paquetesIniciar un proyecto