Skip to content

[9.18] Adding a single group membership endpoint #490

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

dzink
Copy link
Contributor

@dzink dzink commented Feb 28, 2020

See https://docs.gitlab.com/ee/api/members.html#get-a-member-of-a-group-or-project

This only implements this function for groups.

Copy link
Member

@m1guelpf m1guelpf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add testing for this functionality

{
$resolver = $this->createOptionsResolver();
$resolver->setDefined('query');

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$resolver is unused, too much copy-pasting and not testing your added functionality?

I personally would add @see annotation and link to api doc, so could verify what parameters are supported

@GrahamCampbell GrahamCampbell changed the title Adding a single group membership endpoint. Adding a single group membership endpoint Jul 3, 2020
@GrahamCampbell
Copy link
Member

Thanks for starting work on this @dzink. Are you able to finish off this PR please?

@GrahamCampbell GrahamCampbell changed the base branch from master to 9.18 July 3, 2020 11:09
@GrahamCampbell GrahamCampbell marked this pull request as draft July 3, 2020 20:37
@GrahamCampbell GrahamCampbell changed the title Adding a single group membership endpoint [9.19] Adding a single group membership endpoint Jul 9, 2020
@GrahamCampbell GrahamCampbell changed the base branch from 9.18 to 9.19 July 9, 2020 00:03
@GrahamCampbell GrahamCampbell changed the title [9.19] Adding a single group membership endpoint [9.18] Adding a single group membership endpoint Jul 10, 2020
@GrahamCampbell GrahamCampbell changed the base branch from 9.19 to 9.18 July 10, 2020 16:08
@GrahamCampbell
Copy link
Member

Thanks for this. I've finished this off now. Note that we've already implemented this on the projects API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants