You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 19, 2020. It is now read-only.
Love this tool so far, so thanks for your work here! I was wondering about the possibility of merging in the generated types with existing custom ones that may be unrelated to prisma2.
I see that the current behavior allows me to define additional files in src/types as long as the names don't collide and they won't be overwritten. However, running cnt does overwrite the index.ts file, which forces me to re-export the custom files each time.
Would it be possible to allow for custom types alongside the generated ones in the files, or at least add all files in the types directory back to index.ts once generation has finished?
The text was updated successfully, but these errors were encountered:
Hey @zingerj, what i do in my project i create this files in src/types/models folder and Queries in src/types/queries Mutations src/types/mutations and any custom types i create it into the file i use it
Example i need to create custom input for query i will create input type in this query file
I hope this help you because looking to old file not an option in my tool
Love this tool so far, so thanks for your work here! I was wondering about the possibility of merging in the generated types with existing custom ones that may be unrelated to
prisma2
.I see that the current behavior allows me to define additional files in
src/types
as long as the names don't collide and they won't be overwritten. However, runningcnt
does overwrite theindex.ts
file, which forces me to re-export the custom files each time.Would it be possible to allow for custom types alongside the generated ones in the files, or at least add all files in the
types
directory back toindex.ts
once generation has finished?The text was updated successfully, but these errors were encountered: