Why I am not able to use camelCase to use prisma models in trpc if I am using PascalCase name them
I have named the model
SkuImages
now I want to use it in the trpc procedure then it is showing errors.
2 Replies
have you ran npx prisma db push? As well as restarted your typescript server?
yes
everything is working fine if I keep model's name
Image
but for better reffrence I want to keep it SkuImage
but I am unable to do it
I have generated the schema and have also pushed it