Skip to content

docs(generators): add community generators from Lexmata and PegasusHeavy#7803

Merged
ankur-arch merged 5 commits intoprisma:mainfrom
quinnjr:feature/add-community-generators
May 4, 2026
Merged

docs(generators): add community generators from Lexmata and PegasusHeavy#7803
ankur-arch merged 5 commits intoprisma:mainfrom
quinnjr:feature/add-community-generators

Conversation

@quinnjr
Copy link
Copy Markdown
Contributor

@quinnjr quinnjr commented Apr 16, 2026

Summary

  • Add @lexmata/prisma-ent-generator — generates Go Ent schema files from Prisma schema
  • Add @lexmata/prisma-python-generator — generates Python Pydantic model classes from Prisma schema
  • Add @pegasusheavy/nestjs-prisma-graphql — generates NestJS GraphQL types from Prisma schema, ESM-first with Prisma 7+ support

Test plan

  • Verify links to GitHub repositories resolve correctly
  • Confirm descriptions are accurate and consistent with the existing list format
  • Check that the docs site renders the new list items correctly

Summary by CodeRabbit

  • Documentation
    • Added three community generators to the reference: Prisma Ent Generator (for Go schemas), Prisma Python Generator (for Python Pydantic models), and NestJS Prisma GraphQL (for NestJS GraphQL types with ESM support).
    • Extended documentation spellcheck dictionary to recognize new terms ("lexmata", "pegasusheavy", "Pydantic") to reduce false-positive spelling flags.

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+
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 16, 2026

@quinnjr is attempting to deploy a commit to the Prisma Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 16, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 3d93afab-766d-4b05-a4db-2ded5911c598

📥 Commits

Reviewing files that changed from the base of the PR and between 72fed61 and 9a58192.

📒 Files selected for processing (2)
  • apps/docs/content/docs/orm/prisma-schema/overview/generators.mdx
  • apps/docs/cspell.json
✅ Files skipped from review due to trivial changes (2)
  • apps/docs/cspell.json
  • apps/docs/content/docs/orm/prisma-schema/overview/generators.mdx

Walkthrough

Adds three community Prisma generator entries to the docs and updates the docs' spell-check dictionary to include their names (preventing false-positive spelling flags).

Changes

Cohort / File(s) Summary
Documentation Updates
apps/docs/content/docs/orm/prisma-schema/overview/generators.mdx
Added three community-maintained Prisma generator entries: @lexmata/prisma-ent-generator (Go Ent), @lexmata/prisma-python-generator (Python Pydantic), and @pegasusheavy/nestjs-prisma-graphql (NestJS GraphQL with ESM/Prisma 7+ support).
Spell-check Dictionary
apps/docs/cspell.json
Added lexmata, pegasusheavy, and Pydantic to the cspell words list to avoid spelling false positives for the new generator names.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely summarizes the main change: adding three community generators from Lexmata and PegasusHeavy to the documentation.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ 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.

❤️ Share
Review rate limit: 7/8 reviews remaining, refill in 7 minutes and 30 seconds.

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

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

📥 Commits

Reviewing files that changed from the base of the PR and between 9bcb676 and 72fed61.

📒 Files selected for processing (1)
  • apps/docs/content/docs/orm/prisma-schema/overview/generators.mdx

Comment thread apps/docs/content/docs/orm/prisma-schema/overview/generators.mdx Outdated
@ankur-arch
Copy link
Copy Markdown
Contributor

could you add the following unknown words to this file here: https://github.com/prisma/web/blob/main/apps/docs/cspell.json.

Currently the PR is failing because of that.

lexmata
Pydantic
pegasusheavy

ankur-arch and others added 2 commits April 30, 2026 17:14
…po URL

CI was failing on the community-generators additions because cspell
did not know the words `lexmata`, `Pydantic`, and `pegasusheavy`. Add
each to apps/docs/cspell.json (alphabetically placed) so the
spellcheck step passes.

Also point the `@pegasusheavy/nestjs-prisma-graphql` link directly at
github.com/quinnjr/nestjs-prisma-graphql instead of the legacy
`pegasusheavy` username, which now redirects after a GitHub username
change. The npm scope itself remains `@pegasusheavy` because that is
the published package name; only the GitHub URL is updated to avoid
the redirect hop.
@quinnjr
Copy link
Copy Markdown
Contributor Author

quinnjr commented May 1, 2026

@ankur-arch — added lexmata, Pydantic, and pegasusheavy to apps/docs/cspell.json in 9a58192. Local cspell run on content/docs/**/*.{mdx,json} passes with 0 issues. Also took the opportunity to point the @pegasusheavy/nestjs-prisma-graphql link directly at github.com/quinnjr/nestjs-prisma-graphql to avoid the username-change redirect (npm scope unchanged). Should be ready for another look once CI runs.

@ankur-arch ankur-arch merged commit 9c00b49 into prisma:main May 4, 2026
6 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants