Hi! I would like my generated prisma models to hav...
# orm-help
m
Hi! I would like my generated prisma models to have an "Entity" postfix (e.g UserEntity, PostEntity). Is there a way to make prisma do that automatically, or do I have to name them "UserEntity" etc in my schema? Would be nice to have the brevity of "User", "Post" etc in my schema but still get the Entity-postfix in my generated typescript models ๐Ÿ™‚
r
@Magne Skutle ๐Ÿ‘‹ Unfortunately thatโ€™s only possible when adding the
Entity
part directly to the model name in the schema. I would suggest creating a feature request here with your use case so that we can look into this ๐Ÿ™‚
m
ok, thanks for the quick reply!
๐Ÿ‘ 1