2 messages · Page 1 of 1 (latest)
I have a enum (I think) that was generated by prisma from a database enum. This is a status enum that has PENDING, APPROVED, REJECTED. What's the best way to convert between the enum and like a friendly name "Pending", " Approved ", etc. And like let's say a list of styles.
probably just some kind of map