Skip to content

Commit 81bd968

Browse files
committed
Improved error message for full adapters.
1 parent 6271c85 commit 81bd968

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/client/superForm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ export function superForm<
634634
if (validator != initialValidator && !('jsonSchema' in validator)) {
635635
throw new SuperFormError(
636636
'Client validation adapter found in options.validators. ' +
637-
'A full adapter must be used when changing validators dynamically.'
637+
'A full adapter must be used when changing validators dynamically, for example "zod" instead of "zodClient".'
638638
);
639639
}
640640

0 commit comments

Comments
 (0)