Repository navigation
Fix Markdown cross-reference anchors for mapped models - #46
Merged
Merged
Conversation
samchon
commented
Nov 16, 2026
samchon
left a comment
Owner
Author
There was a problem hiding this comment.
Self-review of commit 725aaf6 completed. No outstanding actionable findings in the final PR diff.
- Reviewed all 15 changed files, including generated Markdown and CI execution of the new tests.
- Checked Prisma-name/database-name precedence, custom labels, field references, cross-chapter resolution, summary-only comments, and implicit M:N links.
- Checked document-title/chapter/model anchor collisions, repeated models, existing numeric suffixes, punctuation, and Unicode table names.
- Confirmed the public API signatures are unchanged and standalone writers remain usable as array callbacks.
- Validation passed: build, Prisma generation for the root schema plus four fixtures, all 31 unit tests, formatting, and whitespace checks. The new CLI fixture also asserts that every emitted local link has a corresponding heading.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
{@link User}currently links to#Usereven when@@map("users")renders ausersheading. Resolve references through the complete model list and generate normalized anchors in document heading order, including duplicate-heading suffixes.Validation:
npm run build,npm test(root schema and four fixtures),npm run vitest:cov(31 tests passed), Prettier, Prisma formatting, andgit diff --checkall pass locally on Node.js 24.18.0 / Prisma 7.0.0.Closes #45.