You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prisma client to be generated in src/generated/client
Actual
The client generated in [src/generated/client/prismaClient.d.ts](https://github.com/electric-sql/electric/pull/965/commits/821493ab8cf61387718ce6bb69859dfebbe40354#diff-35095d33d6c46aeb1a1f607fde67e110ee08628ac2bc9eedc5005a02690d2fe6) has a broken import as import * as runtime from './runtime/library.js';
ts errors in the generated ItemsWhereUniqueInputSchema
Type'ZodObject<{ value: ZodOptional; }, "strict", ZodTypeAny, { value?: string | undefined; }, { value?: string | undefined; }>'isnotassignabletotype'ZodType'.Typesofproperty'_type'areincompatible.Type'{ value?: string | undefined; }'isnotassignabletotype'ItemsWhereUniqueInput'.Type'{ value?: string | undefined; }'isnotassignabletotype'{ value: string; } & { value?: string | undefined; AND?: ItemsWhereInput | ItemsWhereInput[] | undefined; OR?: ItemsWhereInput[] | undefined; NOT?: ItemsWhereInput | ... 1 more ... | undefined; }'.Type'{ value?: string | undefined; }'isnotassignabletotype'{ value: string; }'.Typesofproperty'value'areincompatible.Type 'string|undefined' is not assignable to type 'string'. Type 'undefined' is not assignable to type 'string'.ts(2322)
The text was updated successfully, but these errors were encountered:
Steps to repro
/examples/expo
app to the latest and run expo doctoryarn backend:up
yarn db:migrate
yarn client:generate
Reproducible example
here
Expected
Prisma client to be generated in
src/generated/client
Actual
[src/generated/client/prismaClient.d.ts](https://github.com/electric-sql/electric/pull/965/commits/821493ab8cf61387718ce6bb69859dfebbe40354#diff-35095d33d6c46aeb1a1f607fde67e110ee08628ac2bc9eedc5005a02690d2fe6)
has a broken import asimport * as runtime from './runtime/library.js';
ItemsWhereUniqueInputSchema
The text was updated successfully, but these errors were encountered: