Skip to content

Commit fcfb25a

Browse files
committed
docs: remove TypeSchema related note
1 parent 7940d10 commit fcfb25a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/next-safe-action/src/action-builder.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,7 @@ export function actionBuilder<
223223
}
224224

225225
// 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.
226+
// TODO: check if this is still true after switching to built-in system
228227
if (
229228
e instanceof Error &&
230229
"kind" in e &&

0 commit comments

Comments
 (0)