Skip to content

Conversation

filippobuletto
Copy link
Contributor

Discussions are set of related notes on snippets, issues, epics, merge requests or commits.

This commit only include merge requests one.

Discussions are set of related notes on snippets, issues, epics, merge
requests or commits.

This commit only include merge requests one.
Copy link
Collaborator

@gmessner gmessner left a comment

Choose a reason for hiding this comment

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

@filippobuletto
Thanks for the contribution. You'll find some requested changes in the comments.

@gmessner
Copy link
Collaborator

@filippobuletto
If you would prefer, I can go ahead and merge this and make the requested changes myself. I will also add the other methods from the Discussions API when doing so.

@filippobuletto
Copy link
Contributor Author

It's OK to me if you want to merge and complete the changes! Thank you for the suggestions, meanwhile I'll stick to my local changes until you complete the missing api 👍

@gmessner gmessner merged commit a852499 into gitlab4j:master Dec 12, 2018
gmessner added a commit that referenced this pull request Dec 13, 2018
@gmessner
Copy link
Collaborator

@filippobuletto
4.9.3 has been released with the new DiscussionsApi.

gmessner added a commit that referenced this pull request Dec 14, 2018
@gmessner
Copy link
Collaborator

@filippobuletto
Just realized that GitLabApi had not been modified to supply the DiscussionsApi instance. This has been fixed and released in 4.9.5. Example use:

List<Discussion> mrDiscussions = gitLabApi.getDiscussionsApi().getMergeRequestDiscussions(projectId, mergeRequestIid);

gmessner added a commit that referenced this pull request Dec 15, 2018
@filippobuletto filippobuletto deleted the feature/add-discussion-model-api branch December 15, 2018 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants