Files
copilot-swe-agent[bot] 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
Fix list_project_fields JSON unmarshal error for single_select fields
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>
2025-11-26 08:10:51 +00:00
..
2025-11-15 22:07:38 +01:00
2025-08-12 11:04:28 +02:00
2025-11-15 22:07:38 +01:00
2025-11-06 14:48:11 +01:00
2025-10-10 15:20:58 +02:00