INNER CODE UNIT · JavaScript

batchCommitInfo

graphql-community/koa-graphql · resources/gen-changelog.js:198

async function batchCommitInfo(commits) {
  let commitsSubQuery = '';
  for (const oid of commits) {
    commitsSubQuery += `
        commit_${oid}: object(oid: "${oid}") {
          ... on Commit {
            oid
            message
            associatedPullRequests(first: 10) {
              nodes {
                number
                repository {
                  nameWithOwner
                }
              }
            }
          }
        }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…