Skip to content

Conversation

@eluce2
Copy link
Collaborator

@eluce2 eluce2 commented Feb 10, 2026

navigate() lost per-table useEntityIds after Database.from() mutation
fix. Now passes resolved useEntityIds to new EntitySet and resolves
navigation path names through resolveTableId for entity ID support.

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com


Note

Low Risk
Small, localized URL/path construction changes with added test coverage; main risk is subtle regressions in navigation path formatting for entity-ID vs name-based routing.

Overview
Fixes navigate() so entity-ID mode is preserved across navigation chains.

EntitySet.navigate() now forwards useEntityIds into the newly-created EntitySet and resolves both the source table name and relation name via resolveTableId; RecordBuilder.navigate() similarly resolves the relation identifier via resolveTableId. Tests add coverage ensuring generated navigation paths use FMTID:* identifiers (and not table names) for both EntitySet- and record-based navigation when per-table useEntityIds is enabled.

Written by Cursor Bugbot for commit b5dfb43. This will update automatically on new commits. Configure here.

navigate() lost per-table useEntityIds after Database.from() mutation
fix. Now passes resolved useEntityIds to new EntitySet and resolves
navigation path names through resolveTableId for entity ID support.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Feb 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
proofkit-docs Ready Ready Preview Feb 10, 2026 9:10pm

Request Review

Copy link
Collaborator Author

eluce2 commented Feb 10, 2026

@eluce2 eluce2 marked this pull request as ready for review February 10, 2026 21:08
@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 10, 2026

Open in StackBlitz

@proofkit/better-auth

pnpm add https://pkg.pr.new/proofgeist/proofkit/@proofkit/better-auth@118

@proofkit/cli

pnpm add https://pkg.pr.new/proofgeist/proofkit/@proofkit/cli@118

create-proofkit

pnpm add https://pkg.pr.new/proofgeist/proofkit/create-proofkit@118

@proofkit/fmdapi

pnpm add https://pkg.pr.new/proofgeist/proofkit/@proofkit/fmdapi@118

@proofkit/fmodata

pnpm add https://pkg.pr.new/proofgeist/proofkit/@proofkit/fmodata@118

@proofkit/typegen

pnpm add https://pkg.pr.new/proofgeist/proofkit/@proofkit/typegen@118

@proofkit/webviewer

pnpm add https://pkg.pr.new/proofgeist/proofkit/@proofkit/webviewer@118

commit: b5dfb43

Copy link
Collaborator Author

eluce2 commented Feb 11, 2026

Merge activity

  • Feb 11, 2:54 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Feb 11, 2:55 PM UTC: @eluce2 merged this pull request with Graphite.

@eluce2 eluce2 merged commit 6c6b569 into main Feb 11, 2026
16 checks passed
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