Hi Guys :slightly_smiling_face: I'm looking to inc...
# orm-help
l
Hi Guys πŸ™‚ I'm looking to incrementally adopt prisma in favour of typeorm. I'm struggling when it to swapping out my typeorm entity for the equivalent prisma model due to Json columns. Type orm requires strict typing for json columns, whereas prisma seems to use the generic
JsonValue
. Is there anyway to explicitly type a json column in the prisma schema?
n
Hey Laurence πŸ‘‹ unfortunately, this is not yet natively supported but it’s certainly on our radar! In fact, we have an open issue for this already: https://github.com/prisma/prisma/issues/3219 It would be great if you could leave your πŸ‘ on the issue and ideally also a comment that describes your use case for it.