Add show_seat_info option to ProjectMembers.ListAllProjectMembers()
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
The List all members of a group or project including inherited and invited members endpoint of the Group and project members API allows the usage of the show_seat_info boolean to include the is_using_seat boolean for each project member in the returned slice.
However, in the client_go package, this show_seat_info flag is not supported.
I propose to add support for this flag.
Implementation Guide
- Follow the
CONTRIBUTING.mdguide to get your local development environment set up. - Add
ShowSeatInfoto theListGroupMembersOptionsstruct ingroup_members.go. - Add
IsUsingSeatto theGroupMemberstruct ingroup_members.go. - Add
ShowSeatInfoto theListProjectMembersOptionsstruct inproject_members.go. - Add
IsUsingSeatto theProjectMemberstruct inproject_members.go. - Update unit tests in
group_members_test.goandproject_members_test.go. - Run
make reviewableto ensure the code is ready for review.
Edited by 🤖 GitLab Bot 🤖