You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
space: 'cu space list' renders raw fields on a cache hit #62
On a cache hit, cu space list sends the cached []interface{} (decoded JSON maps) straight to the table formatter. The table then shows every raw field instead of the id/name/private/archived columns a cache miss produces.
This is the same kind of bug as #24: untyped data reaching a renderer that expects typed rows. It was found while fixing #24 in #59.
Fix
Decode the cache entry back into []clickup.Space, or cache the typed slice. Then build rows through a single typed function for both the hit and miss paths, as listTableRows does in #59. Add a test that renders from a cache hit.
Activity