fix: Superforms SSR import from /server path and Prisma client version mismatch
- Import superValidate from sveltekit-superforms/server instead of default path to avoid pulling SuperDebug.svelte into SSR - Upgrade @prisma/client to match prisma CLI version (7.2.0 -> 7.8.0) so generated client's query_compiler_fast_bg files exist at runtime - Add regression test verifying superValidate works in server context - Add regression test verifying generated Prisma client compiler imports reference real files
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { getDelegate, parseId } from './prisma-delegate';
|
||||
import { extractFormData } from './form-data';
|
||||
import type { AdminModelConfig } from './types';
|
||||
import { superValidate } from 'sveltekit-superforms';
|
||||
import { superValidate } from 'sveltekit-superforms/server';
|
||||
import { zod4 } from 'sveltekit-superforms/adapters';
|
||||
import * as Schemas from './schemas';
|
||||
import type { z } from 'zod';
|
||||
|
||||
Reference in New Issue
Block a user