Skip to content

fix: update to point to correct example#7452

Closed
ankur-arch wants to merge 1 commit intomainfrom
ankur-arch-patch-2
Closed

fix: update to point to correct example#7452
ankur-arch wants to merge 1 commit intomainfrom
ankur-arch-patch-2

Conversation

@ankur-arch
Copy link
Contributor

@ankur-arch ankur-arch commented Jan 21, 2026

Summary by CodeRabbit

  • Documentation
    • Updated example links in the ORM documentation to reference the correct repository location.

✏️ Tip: You can customize this high-level summary in your review settings.

@ankur-arch ankur-arch requested a review from carlagn January 21, 2026 14:28
@github-actions
Copy link
Contributor

Dangerous URL check

No absolute URLs to prisma.io/docs found.
No local URLs found.

@github-actions
Copy link
Contributor

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 21, 2026

Walkthrough

A single line update in documentation redirects an example link to point directly to a specific package location within a repository, replacing the previous reference.

Changes

Cohort / File(s) Summary
Documentation URL Update
content/200-orm/100-prisma-schema/10-overview/04-location.mdx
Updated example reference URL from the root repository to a specific package subdirectory and adjusted surrounding link text formatting

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'fix: update to point to correct example' directly describes the main change: updating a documentation link to reference the correct example URL instead of an incorrect one.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


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

@github-actions
Copy link
Contributor

Redirect check

This PR probably requires the following redirects to be added to static/_redirects:

  • This PR does not change any pages in a way that would require a redirect.

@github-actions
Copy link
Contributor

🍈 Lychee Link Check Report

Note: Links are cached for 5 minutes. Failed links (timeouts, rate limits) are retried in a second run with longer timeout.

📊 Results Overview

Status Count
🔍 Total 2310
✅ Successful 2279
⏳ Timeouts 0
🔀 Redirected 5
👻 Excluded 24
❓ Unknown 0
🚫 Errors 1
⛔ Unsupported 1

Errors per input

Errors in 200-orm/050-overview/100-introduction/250-should-you-use-prisma.mdx

@cloudflare-workers-and-pages
Copy link

Deploying docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 484f60b
Status: ✅  Deploy successful!
Preview URL: https://a3c1436c.docs-51g.pages.dev
Branch Preview URL: https://ankur-arch-patch-2.docs-51g.pages.dev

View logs

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

🤖 Fix all issues with AI agents
In `@content/200-orm/100-prisma-schema/10-overview/04-location.mdx`:
- Line 142: Update the sentence that reads "`dub` by dub.co is a great example
of a real world project adapted to use a multi-file Prisma Schema." in the
content/200-orm/100-prisma-schema/10-overview/04-location.mdx text to hyphenate
the compound adjective: change "real world project" to "real-world project" so
the phrase reads "...a great example of a real-world project adapted to use a
multi-file Prisma Schema."

### Examples

Our fork of [`dub` by dub.co](https://github.com/prisma/dub) is a great example of a real world project adapted to use a multi-file Prisma Schema.
[`dub` by dub.co](https://github.com/dubinc/dub/tree/main/packages/prisma) is a great example of a real world project adapted to use a multi-file Prisma Schema.
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash

# Check if the URL is accessible
echo "=== Checking URL accessibility ==="
http_code=$(curl -s -o /dev/null -w "%{http_code}" "https://github.com/dubinc/dub/tree/main/packages/prisma")
echo "HTTP Status Code: $http_code"

# Use GitHub API to check directory contents for .prisma files
echo ""
echo "=== Checking directory structure for .prisma files ==="
curl -s "https://api.github.com/repos/dubinc/dub/contents/packages/prisma" | jq -r '.[] | "\(.type): \(.name)"' 2>/dev/null || echo "Could not fetch directory contents"

Repository: prisma/docs

Length of output: 263


🏁 Script executed:

#!/bin/bash

# Check what's inside the schema directory
echo "=== Contents of packages/prisma/schema directory ==="
curl -s "https://api.github.com/repos/dubinc/dub/contents/packages/prisma/schema" | jq -r '.[] | "\(.type): \(.name)"' 2>/dev/null

# Also check for .prisma files
echo ""
echo "=== Looking for .prisma files ==="
curl -s "https://api.github.com/repos/dubinc/dub/contents/packages/prisma/schema" | jq -r '.[] | select(.name | endswith(".prisma")) | .name' 2>/dev/null || echo "No direct .prisma files found"

Repository: prisma/docs

Length of output: 1318


Good update pointing to the canonical source—grammar fix needed.

The change to reference the original dubinc/dub repository instead of a fork is solid. That directory contains 36 separate .prisma files (bounty, campaign, comment, commission, customer, dashboard, discount, domain, folder, fraud, group, integration, invoice, jackson, link, message, misc, network, notification, oauth, partner, payout, platform, program, referral, reward, schema, tag, token, utm, webhook, workflow, workspace), making it a textbook example of multi-file schema organization. Users will see the actively maintained source.

One grammar point: "real world" should be hyphenated as "real-world" when used as a compound adjective modifying "project."

📝 Suggested fix
-[`dub` by dub.co](https://github.com/dubinc/dub/tree/main/packages/prisma) is a great example of a real world project adapted to use a multi-file Prisma Schema.
+[`dub` by dub.co](https://github.com/dubinc/dub/tree/main/packages/prisma) is a great example of a real-world project adapted to use a multi-file Prisma Schema.
📝 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
[`dub` by dub.co](https://github.com/dubinc/dub/tree/main/packages/prisma) is a great example of a real world project adapted to use a multi-file Prisma Schema.
[`dub` by dub.co](https://github.com/dubinc/dub/tree/main/packages/prisma) is a great example of a real-world project adapted to use a multi-file Prisma Schema.
🧰 Tools
🪛 LanguageTool

[grammar] ~142-~142: Use a hyphen to join words.
Context: ...ges/prisma) is a great example of a real world project adapted to use a multi-fil...

(QB_NEW_EN_HYPHEN)

🤖 Prompt for AI Agents
In `@content/200-orm/100-prisma-schema/10-overview/04-location.mdx` at line 142,
Update the sentence that reads "`dub` by dub.co is a great example of a real
world project adapted to use a multi-file Prisma Schema." in the
content/200-orm/100-prisma-schema/10-overview/04-location.mdx text to hyphenate
the compound adjective: change "real world project" to "real-world project" so
the phrase reads "...a great example of a real-world project adapted to use a
multi-file Prisma Schema."

@carlagn
Copy link
Contributor

carlagn commented Jan 21, 2026

@ankur-arch This is a duplicate of #7450

@ankur-arch ankur-arch closed this Jan 21, 2026
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