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

Use issue number instead of issue object to fetch comments on an issue #40

Merged
merged 1 commit into from
Aug 2, 2016

Conversation

Palleas
Copy link
Collaborator

@Palleas Palleas commented Aug 1, 2016

As I started using Tentacle in my project, I realized relying on the Issue object to fetch
comments on an issue was a bit complicated. It works well when you fetch issues first and then
comments, but if you only have the issue number, you have to manage to retrieve a somewhat
complex object.
This PR replaces the first argument of the commentsOnIssue method from an instance of Issue to an Int containing the Issue number.

Let me know what you think 👍

@mdiep
Copy link
Owner

mdiep commented Aug 2, 2016

Makes sense. 👍

@mdiep mdiep merged commit 1920ec6 into master Aug 2, 2016
@mdiep mdiep deleted the comments-signature branch August 2, 2016 00:28
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