From 125ff06b2c9cf164f4df151a0f079c6b0b775c82 Mon Sep 17 00:00:00 2001 From: Toshiya Doi Date: Sat, 4 Apr 2020 13:07:44 +0900 Subject: [PATCH] Add metadata to PullRequest struct --- api/queries_pr.go | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/api/queries_pr.go b/api/queries_pr.go index 905bd2066..e355f4cd8 100644 --- a/api/queries_pr.go +++ b/api/queries_pr.go @@ -61,6 +61,38 @@ type PullRequest struct { } } } + Assignees struct { + Nodes []struct { + Login string + } + TotalCount int + } + Labels struct { + Nodes []struct { + Name string + } + TotalCount int + } + ProjectCards struct { + Nodes []struct { + Project struct { + Name string + } + Column struct { + Name string + } + } + TotalCount int + } + Milestone struct { + Title string + } + Participants struct { + Nodes []struct { + Login string + } + TotalCount int + } } type NotFoundError struct {