Sh4reef
09/21/2018, 12:17 PMtype
from another graphql file using Prisma Client doesn’t work, But it does work with Prisma Binding ?mikepuglisi
09/21/2018, 2:17 PM./prisma-client/prisma-schema.js
, there must be a different way to accomplish an import of Types to schema.graphqlnilan
09/21/2018, 2:20 PMmikepuglisi
09/21/2018, 3:21 PM./prisma-client/prisma-schema.js
file when it should be generating a .graphql file
OR
2) An error occurs when attempting to import types from the generated prisma-schema.js file?
Example:
# import Post from "./prisma-client/prisma.graphql"
----
Note that everything else seems to be working fine with the `./prisma-client/prisma-schema.js, but I have to copy every single Type I'm using to schema.graphql manually. I'm pretty new to prisma, so I may be missing a fundamental concept.nilan
09/21/2018, 3:22 PMprisma.yml
file, can you share it?
2) I don't understand this question, hence I asked for a bug report to get the full context.mikepuglisi
09/21/2018, 4:03 PMnilan
09/21/2018, 4:06 PMprisma.yml
mikepuglisi
09/21/2018, 5:03 PMmikepuglisi
09/21/2018, 5:24 PMendpoint: <http://localhost:4466>
datamodel: datamodel.prisma
generate:
- generator: javascript-client
output: ../prisma-client/
- generator: graphql-schema
output: ../prisma-client/
mikepuglisi
09/21/2018, 5:25 PMSh4reef
09/21/2018, 7:12 PMSh4reef
09/21/2018, 7:12 PM