Skip to content

docs: Add prisma-guard extension for validation and security#7905

Open
multipliedtwice wants to merge 1 commit into
prisma:mainfrom
multipliedtwice:patch-1
Open

docs: Add prisma-guard extension for validation and security#7905
multipliedtwice wants to merge 1 commit into
prisma:mainfrom
multipliedtwice:patch-1

Conversation

@multipliedtwice
Copy link
Copy Markdown
Contributor

@multipliedtwice multipliedtwice commented May 20, 2026

Summary by CodeRabbit

  • Documentation
    • Added a new community Prisma Client extension (prisma-guard) to the extensions reference documentation, along with its GitHub link and description.

Review Change Stack

@vercel
Copy link
Copy Markdown

vercel Bot commented May 20, 2026

@multipliedtwice 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 May 20, 2026

Walkthrough

This pull request adds a single row to the community-contributed Prisma Client extensions table, documenting the prisma-guard extension with its GitHub link and functional description.

Changes

Documentation Update

Layer / File(s) Summary
Community extension table entry
apps/docs/content/docs/orm/prisma-client/client-extensions/extension-examples.mdx
The prisma-guard extension is added to the "Extensions made by Prisma's community" table with its repository link and description.

🎯 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 accurately describes the main change: adding a community extension (prisma-guard) to the documentation with specific focus on its validation and security capabilities.
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.

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

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint skipped: no ESLint configuration detected in root package.json. To enable, add eslint to devDependencies.


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

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 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

📥 Commits

Reviewing files that changed from the base of the PR and between e918dc8 and 42803b6.

📒 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 |
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.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

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.

Suggested change
| [`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.

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.

1 participant