hey all is it possible to have Prisma “cast” an un...
# orm-help
m
hey all is it possible to have Prisma “cast” an unsupported column type on the client? I’d like to preserve the type of the column for migrations etc as an int4range but still allow Prisma to provide access to this field as a string via the client
✅ 1
👀 1
a
Hey Matt, welcome to the Prisma community 👋! Casting like you described is not something Prisma offers out-of-the-box, but you could potentially build it yourself using middleware.
m
awesome, thanks for the response @Austin!