Skip to content
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

Add repositoryId overloads to methods on I(Observable)IssueReactionsClient #1384

Merged

Conversation

alexander-efremov
Copy link
Contributor

@alexander-efremov alexander-efremov commented Jun 15, 2016

As part of my work on #1120 I've added new overloads on I(Observable)IssueReactionsClient to get access by repository id.

  • Update XML documentation of interface methods of clients (also synchronize XML docs of IIssueReactionsClient and IObservableIssueReactionsClient).

    There is some divergence between XML documentation of methods in IIssueReactionsClient and IObservableIssueReactionsClient. So I've decided
    to sync XML documentation of these classes during my work on Add support for interacting with repositories by id. #1120.

  • Add overloads to IIssueReactionsClient.

    Just add overloads of existing methods that use repositoryId to work with repo.

  • Add overloads to IObservableIssueReactionsClient.

    Just add overloads of existing methods that use repositoryId to work with repo.

  • Add unit tests.

    I've added new unit tests that use repositoryId to work with repo that is just a full copy of existing tests that use (owner, name) key.
    Also I've found out that not all methods are covered by tests and added them for new and for old methods.

  • Add integration tests.

    I've added new integration tests that use repositoryId to work with repo that is just a full copy of existing tests that use (owner, name) key.
    I've deleted class ObservableIssueReactionsClientTests beacuse it is useless. All test cases are covered in non-reactive IssueReactionsClientTests class.

/cc @shiftkey, @ryangribble

@alexander-efremov alexander-efremov changed the title [WIP] Add repositoryId overloads to methods on I(Observable)IssueReactionsClient Add repositoryId overloads to methods on I(Observable)IssueReactionsClient Jun 15, 2016
@alexander-efremov
Copy link
Contributor Author

@ryangribble could you rerun Travis and assign RepositoryId milestone here?

@ryangribble ryangribble added this to the RepositoryId Support milestone Jun 15, 2016
@alexander-efremov
Copy link
Contributor Author

I've cleared tags here.

@shiftkey shiftkey self-assigned this Jun 30, 2016
@alexander-efremov
Copy link
Contributor Author

@shiftkey done!

@shiftkey shiftkey merged commit 79a4749 into octokit:master Jul 6, 2016
@alexander-efremov alexander-efremov deleted the add-repo-id-issue-reactions-client branch July 6, 2016 03:06
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.

3 participants