-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mapic: Fix parsing of human_issues field (#646)
It is undocumented and I assumed it was a string just like the issues. Turns out it is a string array. If I just changed the types it would make the parsing logic much more convoluted, as the array is actually parsed as a []interface{} and I'd need to check each field. So I changed it once again, making yet another parsing of the input object.
- Loading branch information
Showing
2 changed files
with
32 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters