Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🤖🚨 GitHub’s GraphQL Schema changes detected #14

Merged
merged 2 commits into from
Jan 10, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -408,14 +408,20 @@ type ClosedEvent implements Node {
# Object that was closed.
closable: Closable!

# Object which triggered the creation of this event.
closer: Closer

# Identifies the commit associated with the 'closed' event.
commit: Commit
commit: Commit @deprecated(reason: "Use ClosedEvent.closer instead.")

# Identifies the date and time when the object was created.
createdAt: DateTime!
id: ID!
}

# The object which triggered a `ClosedEvent`.
union Closer = Commit | PullRequest

# The Code of Conduct for a repository
type CodeOfConduct {
# The body of the CoC
Expand Down
57 changes: 45 additions & 12 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -22933,6 +22933,16 @@
"enumValues": null,
"possibleTypes": null
},
{
"kind": "SCALAR",
"name": "Date",
"description": "An ISO-8601 encoded date string.",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "SCALAR",
"name": "X509Certificate",
Expand Down Expand Up @@ -25508,6 +25518,18 @@
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "closer",
"description": "Object which triggered the creation of this event.",
"args": [],
"type": {
"kind": "UNION",
"name": "Closer",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "commit",
"description": "Identifies the commit associated with the 'closed' event.",
Expand All @@ -25517,8 +25539,8 @@
"name": "Commit",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
"isDeprecated": true,
"deprecationReason": "Use ClosedEvent.closer instead."
},
{
"name": "createdAt",
Expand Down Expand Up @@ -25564,6 +25586,27 @@
"enumValues": null,
"possibleTypes": null
},
{
"kind": "UNION",
"name": "Closer",
"description": "The object which triggered a `ClosedEvent`.",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": null,
"possibleTypes": [
{
"kind": "OBJECT",
"name": "Commit",
"ofType": null
},
{
"kind": "OBJECT",
"name": "PullRequest",
"ofType": null
}
]
},
{
"kind": "OBJECT",
"name": "ReopenedEvent",
Expand Down Expand Up @@ -34014,16 +34057,6 @@
],
"possibleTypes": null
},
{
"kind": "SCALAR",
"name": "Date",
"description": "An ISO-8601 encoded date string.",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "MarketplaceListingConnection",
Expand Down