Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

Any label color #61

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Any label color #61

wants to merge 6 commits into from

Conversation

takemyoxygen
Copy link

A while ago new colors for labels were introduced as discussed here: #57. Potentially this is also a root cause of #53. Moreover, now unlimited number of uncolored labels can be attached to a card. JSON response for this card looks like:

"labels":[
 {
    "id":"54720d01bafdf2374fc135d1",
    "idBoard":"50d6b44e8fab449f7800531f",
    "name":"some uncolored label",
    "color":null,
    "uses":1
 }]

I replaced Color enumeration with a class, so now any new color doesn't break an application and cards with uncolored labels can be deserialized.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant