summaryrefslogtreecommitdiff
path: root/src/github.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/github.rs')
-rw-r--r--src/github.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/github.rs b/src/github.rs
index 6e499be..1cb90be 100644
--- a/src/github.rs
+++ b/src/github.rs
@@ -9,6 +9,7 @@ use crate::types::{DateTime, Issue, PullRequest, HTML, URI};
const API_URL: &str = "https://api.github.com/graphql";
type Cursor = String;
+type GitObjectID = String;
pub struct Github {
client: reqwest::blocking::Client,
@@ -119,6 +120,8 @@ impl ChunkedQuery for PullsQuery {
last_update: n.updated_at,
url: n.url,
base_ref: n.base_ref_name,
+ merge_commit: n.merge_commit.map(|c| c.oid),
+ landed_in: Default::default(),
})
.collect();
let cursor = match (self.since, infos.last()) {