Open jjangga0214 opened 2 years ago
@AhmedElywa Why don't you just change case without @map?
@map
@map is not allowed to relation because the name of relation is not from database. It's free and up to use to name it.
We do not need @map, but we just can name it camelcase.
Originally posted by @jjangga0214 in https://github.com/paljs/prisma-tools/issues/134#issuecomment-955659055
@AhmedElywa Why don't you just change case without
@map
?@map
is not allowed to relation because the name of relation is not from database. It's free and up to use to name it.We do not need
@map
, but we just can name it camelcase.Originally posted by @jjangga0214 in https://github.com/paljs/prisma-tools/issues/134#issuecomment-955659055