-
Notifications
You must be signed in to change notification settings - Fork 668
fix(objects): make lists work for filters in all objects #1420
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
Conversation
1181e53
to
603a351
Compare
Codecov Report
@@ Coverage Diff @@
## master #1420 +/- ##
==========================================
+ Coverage 80.24% 80.53% +0.29%
==========================================
Files 73 73
Lines 4064 4080 +16
==========================================
+ Hits 3261 3286 +25
+ Misses 803 794 -9
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
For the future it would be nice to have functional tests for some of these, but that is a MUCH bigger task.
Thanks!
That sounds like a good idea. I think it should be possible to do that. If we have a |
Yes agreed :) I'll try to add more fixtures so that writing functional tests is a bit quicker for these things. |
@nejch I'm okay with merging this. Not sure if you also want @max-wittig to approve too. But I have no complaints if you want to merge it 🙂 |
Sure, assigning to you as you were pretty involved in the initial issue anyway :) I just pushed a small assert though that should prove we fixed at least the linked issue. The |
Still looks good to me. An additional test is a nice addition. |
Well, this was tedious 😁 Follow-up to #1413.
Long term I don't see this being a good idea to maintain manually. Maybe later we can just convert any list we get in the data for
ListMixin
. Either way - finding candidates wasgrep -r 'type: Array' lib/api
in the gitlab repo, and weeding out non-GET
params and endpoints not implemented by python-gitlab:Closes #1256
Closes #1419