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
Describe the feature or problem you’d like to solve
When I attempt to checkout a PR but mistype the number, I expect to see a helpful error message.
Instead, I see the following
GraphQL error: Could not resolve to a PullRequest with the number of 12345.
Proposed solution
As an end user, I don't care about the implementation. I don't need to know there was a GraphQL error. I just want to know that there is not a PR with that number and perhaps a suggestion of what I should have typed.
Describe the feature or problem you’d like to solve
When I attempt to checkout a PR but mistype the number, I expect to see a helpful error message.
Instead, I see the following
Proposed solution
As an end user, I don't care about the implementation. I don't need to know there was a GraphQL error. I just want to know that there is not a PR with that number and perhaps a suggestion of what I should have typed.
Additional context
If I'm reading it right, it looks like https://github.com/cli/cli/blob/trunk/api/queries_pr.go#L144-L150 just returns the error. Perhaps there's a better UX pattern we can develop.
The text was updated successfully, but these errors were encountered: