Since the new `prisma generate` doesn't create a s...
# orm-help
k
Since the new
prisma generate
doesn't create a separate
prisma.graphql
, how can I import graphql `Type`s in my
schema.graphql
?
d
Hey! so for now, you can use the command called
graphql get-schema
from - https://github.com/graphql-cli/graphql-cli But soon, we will also release a generator for the schema, which can be used as a generator in
prisma.yml
making this workflow easier šŸ™‚
Please let me know if you have more questions around this šŸ™‚
k
But it complains about the new `prisma.yml`:
Copy code
āœ– Invalid prisma.yml file
prisma.yml should NOT have additional properties. additionalProperty: generate
d
You need to use
npm install -g prisma@beta
The Client and Prisma generate are available in beta and will be available on stable in 2 weeks šŸ™‚