FlavorDave
FlavorDave
PPrisma
Created by FlavorDave on 8/26/2024 in #help-and-questions
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
1 replies