Skip to content

Don't open PRs in the finder#140

Merged
probablycorey merged 2 commits intomasterfrom
wtf-finder
Dec 5, 2019
Merged

Don't open PRs in the finder#140
probablycorey merged 2 commits intomasterfrom
wtf-finder

Conversation

@probablycorey
Copy link
Contributor

This fixes #137. The problem was we weren't returning the URL in graphql, the computer tries to open an empty string, and that triggers the Finder to open.

I considered making some PR graphql fragments that all the PR queries can use, but wanted to see if others thought it was necessary before I refactored all the PR queries.

@probablycorey probablycorey self-assigned this Dec 5, 2019
Copy link
Contributor

@mislav mislav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great find!

I don't feel it's the way to go right now that different queries share the same fragment for PR, because that will likely result in overfetching. For instance, this query does not need information about Reviews and Checks, but some other queries do.

I'd like us to explore a more declarative GraphQL query interface that would allow the caller to specify the fields that it wants per-invocation. That way, each caller specifies exactly the fields that it needs to consume.

@probablycorey probablycorey merged commit 6d3d5d7 into master Dec 5, 2019
@probablycorey probablycorey deleted the wtf-finder branch December 5, 2019 19:42
mislav pushed a commit that referenced this pull request Sep 28, 2021
fork go-ghcs-crypto repo into internal module
cchristous pushed a commit to cchristous/cli that referenced this pull request Feb 28, 2026
Handle SSH Server/Client race conditions; Verbose message if SSH returns permission denied
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.

Receive error when viewing closed or merged PRs

2 participants