Prisma extension for remapping all fields of certain prisma type

Can I make an extension that remaps all fields of say a String or Number to something else regardless what field or model it's in? I'm using the temporal polyfill and want to remap all my DateTime @db.date to Temporal.PlainDate but I'm stuck. The remapped field names should keep their name. I only want the value to change.
0 Replies
No replies yetBe the first to reply to this messageJoin