fix(server): return diagnosable body for schema rejections (#26631)

This commit is contained in:
Kit Langton 2026-05-10 12:21:32 -04:00 committed by GitHub
commit 049502fac6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 606 additions and 324 deletions

View file

@ -752,11 +752,11 @@ export type Project = {
}
export type BadRequestError = {
data: unknown
errors: Array<{
[key: string]: unknown
}>
success: false
name: "BadRequest"
data: {
message: string
kind?: "Params" | "Headers" | "Query" | "Body" | "Payload"
}
}
export type NotFoundError = {