gitlab4j-api icon indicating copy to clipboard operation
gitlab4j-api copied to clipboard

labels as set instsead of list

Open ramarro123 opened this issue 2 years ago • 1 comments
trafficstars

On various api like getMergeRequest or MergeRequest object or MergeRequestParams list object is considered a List<String>

considering that it's duplicated labels doesn't make sense, shouldn't this structure be a set instead of list?

ramarro123 avatar May 12 '23 08:05 ramarro123

At JSON level there is no notion of Set… So mapping to List is not really wrong.

jmini avatar May 12 '23 13:05 jmini