Diese Seite ist auf Englisch veröffentlicht. Verträge und Richtlinien gelten für alle Märkte in englischer Fassung.

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.

Stack-Notizen

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.

Fragen

GraphQL?

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

Ab $390 USD · Quoted in 48 hours · ca. 360 €

Pakete vergleichenProjekt starten