MCPcopy Index your code
hub / github.com/github/github-mcp-server / viewerQuery

Function viewerQuery

pkg/github/pullrequests_test.go:3846–3860  ·  view source on GitHub ↗
(login string)

Source from the content-addressed store, hash-verified

3844}
3845
3846func viewerQuery(login string) githubv4mock.Matcher {
3847 return githubv4mock.NewQueryMatcher(
3848 struct {
3849 Viewer struct {
3850 Login githubv4.String
3851 } `graphql:"viewer"`
3852 }{},
3853 map[string]any{},
3854 githubv4mock.DataResponse(map[string]any{
3855 "viewer": map[string]any{
3856 "login": login,
3857 },
3858 }),
3859 )
3860}
3861
3862type getLatestPendingReviewQueryReview struct {
3863 id string

Calls 2

NewQueryMatcherFunction · 0.92
DataResponseFunction · 0.92

Tested by

no test coverage detected