LuukOriginal
LuukOriginal
DTDrizzle Team
Created by LuukOriginal on 7/12/2024 in #help
Drizzle-zod typeerror when passing in pgtable
Oh, that seemed to work, now I can finally continue on working on the application, thank you so much! 😁 👍
14 replies
DTDrizzle Team
Created by LuukOriginal on 7/12/2024 in #help
Drizzle-zod typeerror when passing in pgtable
No description
14 replies
DTDrizzle Team
Created by LuukOriginal on 7/12/2024 in #help
Drizzle-zod typeerror when passing in pgtable
No description
14 replies
DTDrizzle Team
Created by LuukOriginal on 7/12/2024 in #help
Drizzle-zod typeerror when passing in pgtable
it seems to work fine on drizzle run tho I found out, also tried deleting all node_modules folders and reinstalling everything, but that didn't work either
14 replies
DTDrizzle Team
Created by LuukOriginal on 7/12/2024 in #help
Drizzle-zod typeerror when passing in pgtable
versions are:
drizzle-kit: 0.23.0
drizzle-orm: 0.32.0
drizzle-zod: 0.5.1
zod: 3.23.8
drizzle-kit: 0.23.0
drizzle-orm: 0.32.0
drizzle-zod: 0.5.1
zod: 3.23.8
14 replies
DTDrizzle Team
Created by LuukOriginal on 7/12/2024 in #help
Drizzle-zod typeerror when passing in pgtable
schema and contract are still the same as the onces I sent before
14 replies
DTDrizzle Team
Created by LuukOriginal on 7/12/2024 in #help
Drizzle-zod typeerror when passing in pgtable
No description
14 replies
DTDrizzle Team
Created by LuukOriginal on 7/12/2024 in #help
Drizzle-zod typeerror when passing in pgtable
No description
14 replies
DTDrizzle Team
Created by LuukOriginal on 7/12/2024 in #help
Drizzle-zod typeerror when passing in pgtable
I tried updating my packages it and that seemed to have fixed the problem, thanks
14 replies
DTDrizzle Team
Created by LuukOriginal on 7/12/2024 in #help
Drizzle-zod typeerror when passing in pgtable
if any more information is required, feel free to ask
14 replies
DTDrizzle Team
Created by LuukOriginal on 7/12/2024 in #help
Drizzle-zod typeerror when passing in pgtable
The Type Error:
Type '{ id: PgColumn<{ name: "team_id"; tableName: "teams"; dataType: "number"; columnType: "PgSerial"; data: number; driverParam: number; notNull: true; hasDefault: true; enumValues: undefined; baseColumn: never; }, {}, {}>; created_at: PgColumn<...>; name: PgColumn<...>; description: PgColumn<...>; subcription_tier: PgC...' is not assignable to type 'Record<string, Column<any, object, object>>'.
Property 'id' is incompatible with index signature.
Type 'PgColumn<{ name: "team_id"; tableName: "teams"; dataType: "number"; columnType: "PgSerial"; data: number; driverParam: number; notNull: true; hasDefault: true; enumValues: undefined; baseColumn: never; }, {}, {}>' is missing the following properties from type 'Column<any, object, object>': generated, generatedIdentity
Type '{ id: PgColumn<{ name: "team_id"; tableName: "teams"; dataType: "number"; columnType: "PgSerial"; data: number; driverParam: number; notNull: true; hasDefault: true; enumValues: undefined; baseColumn: never; }, {}, {}>; created_at: PgColumn<...>; name: PgColumn<...>; description: PgColumn<...>; subcription_tier: PgC...' is not assignable to type 'Record<string, Column<any, object, object>>'.
Property 'id' is incompatible with index signature.
Type 'PgColumn<{ name: "team_id"; tableName: "teams"; dataType: "number"; columnType: "PgSerial"; data: number; driverParam: number; notNull: true; hasDefault: true; enumValues: undefined; baseColumn: never; }, {}, {}>' is missing the following properties from type 'Column<any, object, object>': generated, generatedIdentity
14 replies