0.10.0 • Published 4 months ago

@gqloom/prisma v0.10.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

GQLoom Logo

GQLoom

GQLoom is a Code-First GraphQL Schema Loom used to weave runtime types in the TypeScript/JavaScript ecosystem into GraphQL Schema, helping you build GraphQL server enjoyably and efficiently.

Runtime validation libraries such as Zod, Valibot, and Yup have been widely used in backend application development. Meanwhile, when using ORM libraries like Prisma, MikroORM, and Drizzle, we also pre-define database table structures or entity models that contain runtime types. The responsibility of GQLoom is to weave these runtime types into a GraphQL Schema.

When developing backend applications with GQLoom, you only need to write types using the Schema libraries you're familiar with. Modern Schema libraries will infer TypeScript types for you, and GQLoom will weave GraphQL types for you. In addition, the resolver factory of GQLoom can create CRUD interfaces for Prisma, MikroORM, and Drizzle, and supports custom input and adding middleware.

Prisma

Prisma is a next-generation Node.js and TypeScript ORM that unlocks a new level of developer experience when working with databases thanks to its intuitive data model, automated migrations, type-safety & auto-completion.

@gqloom/prisma

This package provides GQLoom integration with Prisma:

  • Weave Prisma model into a GraphQL Schema;
  • Support quickly creating CRUD interfaces from Prisma using the resolver factory;

Installation

# use npm
npm i @gqloom/core @gqloom/prisma

# use pnpm
pnpm add @gqloom/core @gqloom/prisma

# use yarn
yarn add @gqloom/core @gqloom/prisma

Read more at GQLoom Document.

0.10.0

4 months ago

0.9.0

6 months ago

0.7.2

8 months ago

0.8.0

8 months ago

0.7.1

8 months ago

0.9.1

5 months ago

0.5.0

11 months ago

0.4.0

11 months ago

0.7.0

9 months ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago