Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -396,3 +396,6 @@ The following is a list of community created generators.
- [`prismabox`](https://github.com/m1212e/prismabox): Generates versatile [typebox](https://github.com/sinclairzx81/typebox) schema from your Prisma models.
- [`prisma-generator-typescript-interfaces`](https://github.com/mogzol/prisma-generator-typescript-interfaces): Generates zero-dependency TypeScript interfaces from your Prisma schema.
- [`prisma-openapi`](https://github.com/nitzano/prisma-openapi): Generates OpenAPI schema from Prisma models.
- [`@lexmata/prisma-ent-generator`](https://github.com/Lexmata/prisma-ent-generator): Generates Go [Ent](https://entgo.io/) schema files from your Prisma schema.
- [`@lexmata/prisma-python-generator`](https://github.com/Lexmata/prisma-python-generator): Generates Python [Pydantic](https://docs.pydantic.dev/) model classes from your Prisma schema.
- [`@pegasusheavy/nestjs-prisma-graphql`](https://github.com/pegasusheavy/nestjs-prisma-graphql): Generates NestJS GraphQL types from your Prisma schema. ESM-first with support for Prisma 7+.
Comment on lines +399 to +401
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot Apr 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

urls=(
  "https://github.com/Lexmata/prisma-ent-generator"
  "https://github.com/Lexmata/prisma-python-generator"
  "https://github.com/pegasusheavy/nestjs-prisma-graphql"
)

for url in "${urls[@]}"; do
  echo "Checking: $url"
  # Follow redirects and print final status code + effective URL
  curl -sS -L -o /dev/null -w "status=%{http_code} final_url=%{url_effective}\n" "$url"
done

Repository: prisma/web

Length of output: 447


Fix broken and outdated GitHub links before merge.

The link verification revealed two issues in this user-facing documentation:

  1. prisma-ent-generator returns HTTP 404 — This repository is no longer accessible. Remove this entry or replace it with a working alternative if one exists.

  2. nestjs-prisma-graphql has moved owners — The repository redirects from pegasusheavy to quinnjr. Update the documentation to reflect the current owner: @quinnjr/nestjs-prisma-graphql or verify if the package is still actively maintained.

The prisma-python-generator link is valid and requires no changes.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@apps/docs/content/docs/orm/prisma-schema/overview/generators.mdx` around
lines 399 - 401, Remove the broken `@lexmata/prisma-ent-generator` entry (delete
the line that references `prisma-ent-generator`) and update the
`@pegasusheavy/nestjs-prisma-graphql` entry to the current owner/package name
(`@quinnjr/nestjs-prisma-graphql`) and its GitHub URL; keep the
`@lexmata/prisma-python-generator` line unchanged. Ensure the text and link for
the NestJS package use `@quinnjr/nestjs-prisma-graphql` and the correct GitHub
repo URL so there are no redirects or 404s.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This review is incorrect on both points:

  1. prisma-ent-generator is not a 404. The repository was private at the time of the review but has since been made public. It is now accessible at https://github.com/Lexmata/prisma-ent-generator.

  2. The @pegasusheavy scope is correct. The npm package is published under @pegasusheavy/nestjs-prisma-graphql — that is the scope users install with. The GitHub redirect from pegasusheavy to quinnjr is just because the GitHub username changed, but the npm package name and scope remain @pegasusheavy. No change is needed here.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me verify both of these claims before updating my assessment.

@quinnjr, you're absolutely right on both counts — I apologize for the incorrect review.

  1. @lexmata/prisma-ent-generator — The 404 was a false positive from the repository being private at the time of the automated link check. The npm package is verifiably real (it appears as a registered dependent of @prisma/generator-helper), and the repo is now public. No change needed.

  2. @pegasusheavy/nestjs-prisma-graphql — The @pegasusheavy scope is the correct and published npm package name. The GitHub redirect from pegasusheavyquinnjr is simply a result of a GitHub username change and does not affect the package identity or the documentation link. No change needed here either.

All three entries are correct as written. The PR looks good from a link accuracy standpoint.


✏️ Learnings added
Learnt from: quinnjr
Repo: prisma/web PR: 7803
File: apps/docs/content/docs/orm/prisma-schema/overview/generators.mdx:399-401
Timestamp: 2026-04-16T19:06:41.977Z
Learning: When validating community generator links for Prisma docs (apps/docs/content/docs/orm/prisma-schema/overview/generators.mdx), a GitHub repository returning a 404 during an automated curl check may simply be private at the time of the check, not permanently missing. Verify against npm registry existence before flagging as broken.

Note: Learnings are effective only in the context of similar code segments. To apply general coding guidelines, please configure review instructions. You can manage existing learnings in the app.