docs: Add prisma-guard extension for validation and security#7905
docs: Add prisma-guard extension for validation and security#7905multipliedtwice wants to merge 1 commit into
Conversation
|
@multipliedtwice 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 adds a single row to the community-contributed Prisma Client extensions table, documenting the ChangesDocumentation Update
🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint skipped: no ESLint configuration detected in root package.json. To enable, add 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 current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In
`@apps/docs/content/docs/orm/prisma-client/client-extensions/extension-examples.mdx`:
- Line 33: Update the table description for the `prisma-guard` entry so it
follows the table's convention of using a complete verb-led phrase (e.g.,
"Adds...", "Provides...", "Enables...") instead of a comma-separated list;
change the description text for `prisma-guard` to a single concise phrase such
as "Provides field validation, enforces row-level security, and validates input
shapes" (or similar), ensuring parallel structure with other rows.
🪄 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: 4131fdc8-4690-415c-9227-5bbdd61875e8
📒 Files selected for processing (1)
apps/docs/content/docs/orm/prisma-client/client-extensions/extension-examples.mdx
| | [`prisma-paginate`](https://github.com/sandrewTx08/prisma-paginate) | Adds support for paginating read queries | | ||
| | [`prisma-extension-streamdal`](https://github.com/streamdal/prisma-extension-streamdal) | Adds support for Code-Native data pipelines using Streamdal | | ||
| | [`prisma-rbac`](https://github.com/multipliedtwice/prisma-rbac) | Adds customizable role-based access control | | ||
| | [`prisma-guard`](https://github.com/multipliedtwice/prisma-guard) | Field validation, row level security, input shape enforcement | |
There was a problem hiding this comment.
Rewrite description to match table conventions.
The description uses a comma-separated list format that differs from other entries in the table. Most descriptions use complete phrases starting with verbs ("Adds...", "Lets you...", etc.).
📝 Suggested revision
-| [`prisma-guard`](https://github.com/multipliedtwice/prisma-guard) | Field validation, row level security, input shape enforcement |
+| [`prisma-guard`](https://github.com/multipliedtwice/prisma-guard) | Adds field validation, row level security, and input shape enforcement |📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| | [`prisma-guard`](https://github.com/multipliedtwice/prisma-guard) | Field validation, row level security, input shape enforcement | | |
| | [`prisma-guard`](https://github.com/multipliedtwice/prisma-guard) | Adds field validation, row level security, and input shape enforcement | |
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In
`@apps/docs/content/docs/orm/prisma-client/client-extensions/extension-examples.mdx`
at line 33, Update the table description for the `prisma-guard` entry so it
follows the table's convention of using a complete verb-led phrase (e.g.,
"Adds...", "Provides...", "Enables...") instead of a comma-separated list;
change the description text for `prisma-guard` to a single concise phrase such
as "Provides field validation, enforces row-level security, and validates input
shapes" (or similar), ensuring parallel structure with other rows.
Summary by CodeRabbit
prisma-guard) to the extensions reference documentation, along with its GitHub link and description.