Skip to content

Bug: Multi-select Custom Properties are not supported #3198

Closed
@darend

Description

@darend

Issue

The Github API supports organizational custom properties with the following types: string, single_select, multi_select, true_false. Creating a property with type multi_select or true_false breaks many of the library interactions due to unmarshalling errors

API Reference: https://docs.github.com/en/rest/orgs/custom-properties?apiVersion=2022-11-28#create-or-update-custom-properties-for-an-organization

Reproducing

  • Create a custom property of type multi_select via the UI
  • Use library to get organizational custom properties
    • Unmarshalling error
  • Assign the custom property a value on a repository
  • Use the library to get the Repository
  • Unmarshalling error

Metadata

Metadata

Assignees

Labels

Breaking API ChangePR will require a bump to the major version num in next release. Look here to see the change(s).buggood first issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions