We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7940d10 commit fcfb25aCopy full SHA for fcfb25a
packages/next-safe-action/src/action-builder.ts
@@ -223,8 +223,7 @@ export function actionBuilder<
223
}
224
225
// If error is `ActionServerValidationError`, return `validationErrors` as if schema validation would fail.
226
- // Shouldn't be this difficult to check for `ActionServerValidationError`, but /typeschema clients fail
227
- // if it's not done this way.
+ // TODO: check if this is still true after switching to built-in system
228
if (
229
e instanceof Error &&
230
"kind" in e &&
0 commit comments