Why is work with customfields so hard ? #622
-
Hey ) Can you explain why does complex custom fields cast with fmt.Sprint ? https://github.com/andygrunwald/go-jira/blob/v1.13.0/issue.go#L1162 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
The short answer: The long answer: |
Beta Was this translation helpful? Give feedback.
The short answer:
Because we didn't know it better 7 years ago - but today, we know the implementation is not good at all.
The long answer:
As mentioned in the README (https://github.com/andygrunwald/go-jira#warning-state-of-this-library-warning), we are working right now on v2 of this library.
This means, there will be a few breaking changes with the target to fix those behaviors.
Goal is to make it as easy as accessing normal struct fields (for custom fields).