Add model default name configuration option
Closed this issue · 1 comments
schickling commented
The default assumption is that a model has the same name as the GraphQL type. In some code bases there is a different default name, so this should be configurable via the following configuration option:
models:
defaultName: "{typeName}Node"
files:
- ./src/generated/prisma-client
timsuchanek commented
Released in 0.2.8