Skip to content

Instantly share code, notes, and snippets.

@mlbright
Created January 3, 2018 04:54
Show Gist options
  • Save mlbright/a5feab0c2fca49f81c4be2a715d142e6 to your computer and use it in GitHub Desktop.
Save mlbright/a5feab0c2fca49f81c4be2a715d142e6 to your computer and use it in GitHub Desktop.

Revisions

  1. mlbright created this gist Jan 3, 2018.
    28 changes: 28 additions & 0 deletions graphql-example
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,28 @@
    {
    repository(name: "darksky", owner: "mlbright") {
    ref(qualifiedName: "master") {
    target {
    ... on Commit {
    id
    history(first: 5) {
    pageInfo {
    hasNextPage
    }
    edges {
    node {
    messageHeadline
    oid
    message
    author {
    name
    email
    date
    }
    }
    }
    }
    }
    }
    }
    }
    }