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
It would be nice to be able to have a uri structure that explicitly linked to other examples in the markdown transform, e.g. examples://GitHubAddPullRequestComment. Then they could be extracted and transformed into the right links, and possibly even fail the build if they link to a missing example (that's not a great user experience).
The text was updated successfully, but these errors were encountered:
sgrove
added a commit
to sgrove/graphql-docs
that referenced
this issue
Jan 8, 2020
…by its `$number`.
Usually users think of "issue OneGraph#10", but most GitHub GraphQL mutations refer to issues by their id, so you'll find this query quite helpful! For example, you'll need the issue id if you want to [Delete a GitHub issue](GitHubDeleteIssue).
To find the id of issue OneGraph#3 on the [OneGraph GraphQL Docs Repository](OneGraph#1), we could pass in the following variables:
```javascript
{
"repoName": "graphql-docs",
"repoOwner": "OneGraph",
"number": 3
}
```
On https://www.onegraph.com/schema/example/GitHubGetPullRequest the link for
Add a comment to a Pull Request
as a related example erroneously pointed toGitHubAddPullRequestCommentMutation
instead ofGitHubAddPullRequestComment
.It would be nice to be able to have a uri structure that explicitly linked to other examples in the markdown transform, e.g.
examples://GitHubAddPullRequestComment
. Then they could be extracted and transformed into the right links, and possibly even fail the build if they link to a missing example (that's not a great user experience).The text was updated successfully, but these errors were encountered: