Skip to content

TL-563: linear CLI: 'issues list'/'search' never return due date, estimate, or delegate — only 'issues get' does - #6

Closed
FelixLisczyk wants to merge 2 commits into
mainfrom
tl-563
Closed

TL-563: linear CLI: 'issues list'/'search' never return due date, estimate, or delegate — only 'issues get' does#6
FelixLisczyk wants to merge 2 commits into
mainfrom
tl-563

Conversation

@FelixLisczyk

Copy link
Copy Markdown
Owner

No description provided.

SearchIssuesEnhanced (powering `issues list` and `linear search`)
omitted dueDate, estimate, and delegate from its GraphQL selection
set, so those fields were always null/omitted even though GetIssue's
identical selection returns them fine. Fixed the same gap in
ListAssignedIssues and ListAllIssues, which have the identical
pattern but aren't yet wired into the CLI, and extended
IssueWithDetails/convertIssueDetails so ListAllIssues's fix survives
its conversion to core.Issue. Added HTTP-mock regression tests for
all three query methods, sharing a new CapturingTransport test
helper, to catch this class of bug (a field silently missing from a
query) going forward.
Addresses minor cosmetic discrepancies flagged during plan verification
of the dueDate/estimate/delegate query fix: reorder the new fields in
SearchIssuesEnhanced and ListAllIssues to mirror GetIssue's exact
selection shape, add omitempty consistently to ListAllIssues's pointer
decode fields, and add empty labels fixtures to the unpopulated test
nodes for symmetry with their sibling tests. No behavioral change.
@FelixLisczyk

Copy link
Copy Markdown
Owner Author

Superseded by upstream PR: joa23#73

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant