how is prisma connected in the blog example? #664
-
|
I'm looking at https://github.com/graphql-nexus/examples/tree/master/blog and I see that |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
+1 |
Beta Was this translation helpful? Give feedback.
-
|
Prisma used to be "connected" via the plugin called It is still being "connected" via the You can read more about what the Prisma plugin provides in details in the docs here https://www.nexusjs.org/#/plugins/prisma?id=prisma |
Beta Was this translation helpful? Give feedback.
Prisma used to be "connected" via the plugin called
nexus-plugin-prisma, just by being installed as a dependency.It is still being "connected" via the
nexus-plugin-prismaplugin, but we now require plugins to be explicitly enabled as you can see in that example https://github.com/graphql-nexus/examples/blob/master/plugin-prisma/api/app.ts#L4.You can read more about what the Prisma plugin provides in details in the docs here https://www.nexusjs.org/#/plugins/prisma?id=prisma