-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: handle default case when a resource cannot be pluralized
When typegraphql-prisma cannot pluralize a word, it changes the query functions to not have a pluralized form and instead uses prefixes such as findMany and findUnique in front of those resources. This fix changes the default if we encounter one of those types of words.
- Loading branch information
1 parent
0d9c77b
commit dce98b1
Showing
1 changed file
with
28 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters