Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: Haveparticipants() method usehttp_list()#2914

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nejch merged 2 commits intomainfromjlvillal/participants_list
Jul 8, 2024

Conversation

JohnVillalovos
Copy link
Member

Previously it was usinghttp_get() but theparticipants API returns a list of participants. Also by using this then we will warn if only a subset of the participants are returned.

Closes:#2913

Previously it was using `http_get()` but the `participants` APIreturns a list of participants. Also by using this then we will warnif only a subset of the participants are returned.Closes:#2913
@JohnVillalovosJohnVillalovosforce-pushed thejlvillal/participants_list branch from165f848 tofdee58fCompareJuly 7, 2024 20:06
The `closed_by()` and `related_merge_requests()` API calls returnlists. So use the `http_list()` method.This will also warn the user if only a subset of the data is returned.
Copy link
Member

@nejchnejch left a comment

Choose a reason for hiding this comment

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

Thanks@JohnVillalovos!

Yes makes sense IMO this is why I'm in favor of using managers with ListMixin everywhere in place of custom methods as they often get it wrong or can get outdated it seems.

@nejchnejch merged commitde2e4dd intomainJul 8, 2024
16 checks passed
@nejchnejch deleted the jlvillal/participants_list branchJuly 8, 2024 12:12
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@nejchnejchnejch approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Should the participants method usehttp_list?
2 participants
@JohnVillalovos@nejch

[8]ページ先頭

©2009-2025 Movatter.jp