Template
1
0

feat: error when action handler is missing

This commit is contained in:
2025-04-18 22:44:46 +00:00
parent d7398f6bff
commit ecb5f80584
6 changed files with 22 additions and 2 deletions

View File

@@ -19,4 +19,5 @@ export const relay = new Relay({ url: "http://localhost:36573", adapter }, [
.params({ userId: z.string().check(z.uuid()) })
.body(UserSchema.omit({ id: true, createdAt: true })),
route.delete("/users/:userId").params({ userId: z.string().check(z.uuid()) }),
route.get("/add-two").search({ a: z.coerce.number(), b: z.coerce.number() }).response(z.number()),
]);