+11
−5
+1
−1
Loading
The status widget is not present on all work item types. When the GraphQL API returns null for the widget, the Go JSON package cannot unmarshal it into a non-pointer struct, leaving the field zeroed rather than correctly representing absence. Make the widget and its nested status object pointer types, and change WorkItem.Status from `string` to `*string` to distinguish "no status widget" from an empty status name.