For metadata types chosen in interactive flow, we fetch all records from the API in order to be able to display a multi-select interface. For metadata defined via command-line flags, we resolve records that can be looked up directly, avoiding fetching the entirety of expensive datasets (e.g. all members of an organization) if we can. The new approach ensures efficient fetching when interactive flow is combined with values from flags. |
||
|---|---|---|
| .. | ||
| cache.go | ||
| cache_test.go | ||
| client.go | ||
| client_test.go | ||
| pull_request_test.go | ||
| queries_issue.go | ||
| queries_issue_test.go | ||
| queries_org.go | ||
| queries_pr.go | ||
| queries_pr_test.go | ||
| queries_repo.go | ||
| queries_repo_test.go | ||
| queries_user.go | ||