feat(issue): expose per-link direction and verb in inspect --json #96
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/YT-40-link-direction-json"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
yt issue inspect --jsonreturned two structurally identical entries for the two directed slots of a link type (they differed only by theirissuesarray), so a consumer could not tell the blocker (depends on) from the blocked (is required for) without inverting silently.Request
directionon theinspect_issuelinks fetch, guarantee adirection(OUTWARD/INWARD/BOTH) on every serializedlinks[]entry, and attach a resolvedverb(sourceToTargetforOUTWARD/BOTH,targetToSourceforINWARD) computed client-side viaIssueLink::resolve_verb. ThelinkTypeobject andissuesarray (withidReadableand the nullableresolvedstamp) are unchanged for back-compat. Documented on theyt issue inspect --jsonCLI help.#YT-40