fix(objects): make lists work for filters in all objects#1420
fix(objects): make lists work for filters in all objects#1420JohnVillalovos merged 2 commits intomasterfrom
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.
|
JohnVillalovos
left a comment
There was a problem hiding this comment.
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/apiin the gitlab repo, and weeding out non-GETparams and endpoints not implemented by python-gitlab:Closes #1256
Closes #1419