fix: Resource collection path for List/ListAll/Iter #5
No reviewers
Labels
No labels
needs-review
needs-review
athena
athena-gemini
audit
clotho
clotho-gemini
codex
darbs-claude
security
wiki
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: core/go-forge#5
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes List operations using the item path instead of collection path.
The Resource path like /repos/{owner}/{repo}/issues/{index} is the item path. List operations need the collection path (without the trailing /{placeholder}). Fixed by deriving the collection path at construction time — only strips the last segment if it's a pure placeholder like /{index}, not mixed segments like /repos. Co-Authored-By: Virgil <virgil@lethean.io>