Convert response list to single data source for iid requests - #169
Conversation
|
Moving the checks elsewhere will lead to extra complexity. Still I'm not entirely convinced that this is the place for this test, but can't seem to find a better place to handle it. Could you rebase your patch and I think I'll merge it as is since it clearly fixes the bugs and add support for a nice feature. Thank you. |
67f9537 to
23b5b6e
Compare
|
No problem. I rebased the branch. I thought about that. What I could think of was another class attribute like "identifiers" which is a list of possible id's to check. This could be a simple Another possibility could be to have a dedicated class for id handling. Usually Anyway I am happy to see you are merging it. |
|
Sorry I just saw that there is indeed |
|
Let's merge your patch, it's simple enough and fixes a corner case related to gitlab's special behavior. If we need to deal with more special cases in the future we'll consider a more solid solution. Thank you for tackling this :) |
Solves #160
It is questionable though if the iid check should be located here as iids are specific and not available with all gitlab resources.