Closed bkniffler closed 3 years ago
Thanks for reporting this issue. I will skip the relation fields from this convert
@bkniffler can you please upgrade to v2.0.2 and test again?
I'm sorry, I was just evaluating prisma including paljs. I've now gotten rid of prisma, I'll not be able to try for now. But good job on fixing so fast :)
@AhmedElywa Why don't you just change the case without @map
?
@map
is not allowed to relation because the name of the relation is not from the database.
It's free and how to name it is up to us.
We do not need @map
, but we just can name it camelcase.
I've just used
pal schema camel-case
and I got this error during my nextprisma generate
call:Is there a way to handle relations properly, in a way that prisma accepts?