What is the correct endpoint when trying to use ap...
# orm-help
l
What is the correct endpoint when trying to use apollo-codegen with the prisma graphql server? https://github.com/apollographql/apollo-codegen
Alternatively, which file do I point apollo-codegen at in order to generate the schema.json
Oh I see..
But since I import types from the automatically generated GraphQL from Prisma, and apollo-codegen doesn't understand the import statement. Ack!
Copy code
bin/apollo-codegen introspect-schema ../server/src/schema.graphql
Error: Type "DateTime" not found in document.
wat
Guess I have to just specify it as a string
Hmm I guess I don't get the point of apollo codegen yet.
n
Soo, do you have a question or is this resolved? It's a bit hard to tell 🙂