John

Results 38 comments of John
trafficstars

I believe its impossible to tell if this is a bug or not without seeing your drizzle schema file

Your userAbout table doesnt have an avatar property? You have avatarPhid

ok that makes sense apologies still getting up to speed with Postgres. But you havent let drizzle know that avatarPhid references an id on the avatar table?

ie avatarPhid: bigint("avatar_phid").references(() => avatar.id),

Oh i see so you want it to dynamically generate the typescript based on the query and not the relations you have provided in the drizzle schema... jeez.. afraid I...

I have also noticed this behaviour. Would be great to be able to remove some 'as string' that I know are redundant

Yeah agreed actually didnt think of that scenario

@victorquinn if we deploy a new minor version after #600 we can fix this issue in bun

Hey @Yohe-Am so would this be something like? ```chance.date({utc:true})``` ?

I am currently working on a ts rewrite. ill add this to my todo list. Will update here when/if it gets approved by @victorquinn