Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,4 @@ We've found that a few patterns work well with this feature and will help you ge

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

🧩 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://github.com/ghapi/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://github.com/ghapi/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://github.com/ghapi/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."

Loading