adlio / trello

Trello API wrapper for Go
MIT License
219 stars 71 forks source link

Allow correctly reading custom fields #53

Closed tiramiseb closed 4 years ago

tiramiseb commented 4 years ago

Maybe fixes #42

AlmogBaku commented 4 years ago

This PR suffers from the same problem I had with Dropdown fields

tiramiseb commented 4 years ago

@AlmogBaku I don't get it. I have tested this PR with dropdown fields, and it works...

Please note I have changed some functions names in order to make it work seamlessly with dropdown fields and all other types of fields.

When you call card.CustomFieldsMap(board.CustomFieldsMap()) (which is explained in the comments used by godoc), you should get all fields values, whatever their types.

tiramiseb commented 4 years ago

@AlmogBaku's implementation #54 is better than this one. Closing.