nexus-plugin-prisma
nexus-plugin-prisma copied to clipboard
Fix/remove crud pluralize
This branch fix the pluralize issue #537
Instead of Query t.crud.user and t.crud.users the new methods are now t.crud.findOneUser and t.crud.findManyUser following the Mutation methods style createOneUser.
I know this is a great change for current user, so take your time to evaluate this PR.
Also I fix some tests that was broke/broken.
What do you think about using pluralization after findMany? So findManyUser becomes findManyUsers?
That approach would solve the problem just as well, but it wouldn't be in line with the prisma.io project.
Any idea when this will be merged 🙏?