MichalLytek / MichalLytek/typegraphql-prisma
Option to opt-out of "One" suffix for generated create/update/delete mutations (v 0.21.0)
@MichalLytek is already working on this.
Since Jul 27, 2022.
- Dominant language
- TypeScript
- Stars
- 918
- Forks
- 130
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
Version 0.21.0 changes the name of generated mutations from createXYZ to createOneXYZ (similar for update / delete). This introduces a sizable effort to migrate to Prisma 4 and typgraphql-prisma 0.21.0. Also, I personally liked the old naming convention better 😬. It was clear and concise... the `One` suffix doesn't really add much value.
**Describe the solution you'd like**
Would you consider adding an option to opt-out of the `One` suffix? Or alternatively, check with the community and go back to the old approach if there is sufficient support?
Thanks! Otherwise, v 0.21.0 looks great... `typegraphql-prisma` is an amazing package, appreciate all the work that goes into it.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.