Join Slack
Powered by
Hi, everyone. In the documentation (here: <https:/...
# orm-help
d
Darryl
02/08/2019, 11:17 PM
Hi, everyone. In the documentation (here:
https://www.prisma.io/docs/get-started/03-build-graphql-servers-with-prisma-JAVASCRIPT-e001/#define-graphql-api
), it mentions “The Post and User types are straightforward re-definitions of the models specified in datamodel.prisma, except that the Prisma-specific directives have been removed.” As opposed to writing everything again, is there a better way of getting things into schema.graphql?
a
antonbramsen
02/09/2019, 5:26 PM
These two posts might be of some interest for you, if you don’t want to write everything twice:
https://www.prisma.io/blog/the-problems-of-schema-first-graphql-development-x1mn4cb0tyl3
https://www.prisma.io/blog/introducing-graphql-nexus-code-first-graphql-server-development-ll6s1yy5cxl5/
d
Darryl
02/11/2019, 9:22 AM
Thanks for sharing. I’ll check those links out. 👍
3
Views
Open in Slack
Previous
Next