zenstack icon indicating copy to clipboard operation
zenstack copied to clipboard

[Feature Request] Better way to represent a successful mutation with unreadable result

Open ymc9 opened this issue 2 years ago • 1 comments

Today, when a mutation succeeds, but the result is unreadable, the enhanced Prisma throws a "P2004" error, and server adapters return HTTP 403. This creates the perception of a "failed" request.

Maybe we should have a way to indicate: "just mutate but don't return anything" to avoid such errors.

ymc9 avatar Sep 13 '23 00:09 ymc9

This always happens when people use soft-delete, because when you do a "delete" with "update", the result is always non-readable.

ymc9 avatar Sep 13 '23 00:09 ymc9