@distributed/nexus-plugin-prisma

<p align="center"> <img src="https://i.imgur.com/8qvElTM.png" width="300" align="center" /> <h1 align="center">@kenchi/nexus-plugin-prisma</h1> </p>

Usage no npm install needed!

<script type="module">
  import distributedNexusPluginPrisma from 'https://cdn.skypack.dev/@distributed/nexus-plugin-prisma';
</script>

README

@kenchi/nexus-plugin-prisma

trunk

Note: A replacement for this library is under development and available in early preview. More details in #1039. Since the Prisma team is no longer keeping this library up to date with new Prisma versions, we have forked it.

This plugin integrates Prisma into Nexus. It gives you an API you to project fields from models defined in your Prisma schema into your GraphQL API. It also gives you an API to build GraphQL root fields that allow your API clients to query and mutate data.

You can find the documentation on the Nexus website.

Installation

npm install @kenchi/nexus-plugin-prisma
# OR
yarn add @kenchi/nexus-plugin-prisma