| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Split out of #2903 as a small prerequisite refactor. - Add a NodeID field to ResolvedField, populated for all three field variants in listAllProjectFields. - Refactor resolveProjectItemIDByIssueNumber into a thin wrapper over a new resolveProjectItemByIssueNumber that also returns the item node ID, delegating to resolveProjectItemByIssueNumberWithProjectID for an already-resolved project ID. The projectItems query now selects the item node ID alongside its full database ID. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 89f897b0-115f-4435-a071-46fb6c49be86
There was a problem hiding this comment.
Exposes GraphQL node IDs from internal project field and item resolvers for upcoming batched writes.
Changes:
| File | Description |
|---|---|
| pkg/github/projects_resolver.go | Adds field and item node-ID resolution. |
| pkg/github/projects_resolver_test.go | Updates item resolver query fixtures and assertions. |
Sorry, something went wrong.
…rename item resolver test - Assert field.NodeID in Test_ResolveProjectFieldByName_Success. - Add Test_ResolveProjectFieldByName_NodeIDsForAllVariants covering single-select, iteration, and generic fields (asserts NodeID + DataType). - Rename Test_ResolveProjectItemIDByIssueNumber_Success to Test_ResolveProjectItemByIssueNumber_Success to match the resolver it calls. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 89f897b0-115f-4435-a071-46fb6c49be86
| Back | FazBrowse Home | New Git URL |
Summary
Small prerequisite refactor: the project resolver helpers now surface GraphQL node IDs for project items and fields.
Why
Split out of #2903 to keep that PR reviewable. An upcoming change performs batched project-item writes and needs the item/field node IDs exposed here.
What changed
MCP impact
Prompts tested (tool changes only)
N/A - internal resolver refactor, no tool changes.
Security / limits
Tool renaming
Lint & tests
Docs