MichalLytek / MichalLytek/typegraphql-prisma

Support for Prisma 6

Open
#475 16 comments 22 reactions 1 assignee View on GitHub

@cesarvspr is already working on this.

Since Jan 16, 2025.

community enhancement help wanted priority:high
Dominant language
TypeScript
Stars
918
Forks
130
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**

Prisma version 6 has been released, which causes this warning:
> Looks like an incorrect version "6.0.0" of the Prisma packages has been installed. 'typegraphql-prisma' works only with selected versions, so please ensure that you have installed a version of Prisma that meets the requirement: "^5.18.0". Find out more about that requirement in the docs: https://prisma.typegraphql.com/docs/basics/prisma-version

Bypassing this warning with `SKIP_PRISMA_VERSION_CHECK=true` works fine for my application, but I don't know if this is the same for everyone.

**Describe the solution you'd like**

For me, just updating the `package.json` version should be enough.

**Describe alternatives you've considered**

-

**Additional context**

https://www.prisma.io/docs/orm/more/upgrade-guides/upgrading-versions/upgrading-to-prisma-6#breaking-changes

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.