Skip to content

resources: add optional isSymlink flag to DirectoryEntry - #628

Merged
Connor Peet (connor4312) merged 1 commit into
mainfrom
connor4312/624
Nov 24, 2026
Merged

Connor Peet (connor4312) merged 1 commit into
mainfrom
connor4312/624

Conversation

@connor4312

Copy link
Copy Markdown
Member

resources: add optional isSymlink flag to DirectoryEntry

Adds an optional boolean flag to DirectoryEntry so resourceList can
indicate when an entry is a symbolic link without changing the existing
type union.

  • Adds optional isSymlink?: boolean to DirectoryEntry and documents
    type fallback behavior for symbolic links and resourceResolve for
    target resolution.
  • Regenerates JSON schemas and .NET, Go, Kotlin, Rust, Swift, and
    TypeScript client bindings.
  • Adds shared round-trip fixture 100-resource-list-symlink-result.json
    and registers ResourceListResult in all six client test runners.
  • Adds a changelog fragment under docs/.changes/.

Fixes #624

(Commit message generated by Copilot)

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

Adds an optional boolean flag to DirectoryEntry so resourceList can
indicate when an entry is a symbolic link without changing the existing
type union.

- Adds optional `isSymlink?: boolean` to `DirectoryEntry` and documents
  `type` fallback behavior for symbolic links and `resourceResolve` for
  target resolution.
- Regenerates JSON schemas and .NET, Go, Kotlin, Rust, Swift, and
  TypeScript client bindings.
- Adds shared round-trip fixture `100-resource-list-symlink-result.json`
  and registers `ResourceListResult` in all six client test runners.
- Adds a changelog fragment under `docs/.changes/`.

Fixes #624

(Commit message generated by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@connor4312
Connor Peet (connor4312) merged commit 34f0892 into main Nov 24, 2026
8 checks passed
@connor4312
Connor Peet (connor4312) deleted the connor4312/624 branch November 24, 2026 00:15
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.

Proposal: Add optional symbolic-link metadata to resourceList directory entries

3 participants