Closed entrptaher closed 3 years ago
Sorry but I do not understand what you want!
I got busy and forgot to reply on time. :D I'll ask you to reopen this with a reproducible code example.
Long story short, Paljs generator generates file in the disk, while I want to use them in stdin/tmp/stream file to add additional modification.
I want to generate a single graphql file from prisma instead of a lot of separate files/folders just like prisma 1. So there are two ways of doing this,
First way: import own types and use inside makeSchema.
Second way: generate the separate schema files and merge it back later.
Would it be possible to generate the schema without directly without saving them to the disk and reading again?
For example, the Generator.run() could actually expose the string/code/object directly which we can use later.