Typescript clutter: Prisma + Postgresql + JSON fields is a mess

Guys all my code is cluttered with typecasting Prisma.JsonValue Prisma.JsonObject Prisma.JsonNullValueInput etc. Same for data retrieval, always have to cast the value returned from the ORM to get rid of the json types. How are you dealing with this mess? There must be a better way
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server