docs(generators): add community generators from Lexmata and PegasusHeavy#7803
docs(generators): add community generators from Lexmata and PegasusHeavy#7803quinnjr wants to merge 1 commit intoprisma:mainfrom
Conversation
The community generators list was missing several actively maintained generators that target non-JavaScript ecosystems and NestJS GraphQL: - @lexmata/prisma-ent-generator: produces Go Ent schema files - @lexmata/prisma-python-generator: produces Python Pydantic models - @pegasusheavy/nestjs-prisma-graphql: generates NestJS GraphQL types with ESM-first support targeting Prisma 7+
|
@quinnjr is attempting to deploy a commit to the Prisma Team on Vercel. A member of the Team first needs to authorize it. |
WalkthroughThis pull request expands the community generators reference documentation by adding three new Prisma generator packages to the list: tools for generating Go Ent schemas, Python Pydantic models, and NestJS GraphQL types from Prisma schemas. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@apps/docs/content/docs/orm/prisma-schema/overview/generators.mdx`:
- Around line 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.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 7fdb57b4-539e-44c9-8738-f064065f6611
📒 Files selected for processing (1)
apps/docs/content/docs/orm/prisma-schema/overview/generators.mdx
| - [`@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+. |
There was a problem hiding this comment.
🧩 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"
doneRepository: 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:
-
prisma-ent-generatorreturns HTTP 404 — This repository is no longer accessible. Remove this entry or replace it with a working alternative if one exists. -
nestjs-prisma-graphqlhas moved owners — The repository redirects frompegasusheavytoquinnjr. Update the documentation to reflect the current owner:@quinnjr/nestjs-prisma-graphqlor 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.
There was a problem hiding this comment.
This review is incorrect on both points:
-
prisma-ent-generatoris 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. -
The
@pegasusheavyscope is correct. The npm package is published under@pegasusheavy/nestjs-prisma-graphql— that is the scope users install with. The GitHub redirect frompegasusheavytoquinnjris just because the GitHub username changed, but the npm package name and scope remain@pegasusheavy. No change is needed here.
There was a problem hiding this comment.
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.
-
@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. -
@pegasusheavy/nestjs-prisma-graphql— The@pegasusheavyscope is the correct and published npm package name. The GitHub redirect frompegasusheavy→quinnjris 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.
Summary
@lexmata/prisma-ent-generator— generates Go Ent schema files from Prisma schema@lexmata/prisma-python-generator— generates Python Pydantic model classes from Prisma schema@pegasusheavy/nestjs-prisma-graphql— generates NestJS GraphQL types from Prisma schema, ESM-first with Prisma 7+ supportTest plan
Summary by CodeRabbit
Documentation