168e77b419
License Check / license-check (push) Has been cancelled
Build and Test Go Project / build (macos-latest) (push) Has been cancelled
Build and Test Go Project / build (ubuntu-latest) (push) Has been cancelled
Build and Test Go Project / build (windows-latest) (push) Has been cancelled
CodeQL / Analyze (go) (push) Has been cancelled
CodeQL / Analyze (actions) (push) Has been cancelled
The go-github v79 library expects `options.name` to be an object (`*ProjectV2TextContent`) but the GitHub API returns a simple string. This fix: - Creates custom types (FlexibleString, ProjectField, etc.) that can handle both string and object formats for option names - Implements custom UnmarshalJSON for FlexibleString to handle either format - Updates ListProjectFields and GetProjectField to use raw API requests with our custom types instead of the go-github library's types - Adds tests for both string and object name formats Co-authored-by: JoannaaKL <67866556+JoannaaKL@users.noreply.github.com>