Hi all, I'm wondering how I can import my typedefs...
# prisma-client
m
Hi all, I'm wondering how I can import my typedefs from the generated files in to my schema.graphql to avoid having to duplicate all that data. Is this possible with prisma-client and is it a terrible idea?
e
You should rather download the prisma schema. That's what I do. I have the generated files + prisma schema. Use
graphql get-schema --project projectName
or you can change the generator to use
graphql-schema
instead of
javascript-client
for example.
m
Thanks! I really appreciate it