Commit Graph

10 Commits

Author SHA1 Message Date
Ryan Gribble 23b25f5922 add GraphQL Node ID's to response models (#1806)
* add node_id to Deployments payloads (Deployment and DeploymentStatus and Account/User/Organization)

* add node_id to gist responses

* add node_id to Git Blob

* add node_id to Git Commit response

* add node_id to GitReference response

* add node_id to everything that inherits GitReference

* add node_id to Issue

* add node_id to IssueComment/IssueEvent

* add node_id to Label

* add node_id to Milestone

* add node_id to Project/ProjectCard/ProjectColumn

* add node_id to Reaction

* add node_id to Release/ReleaseAsset

* add node_id to Team

* add node_id to Repository.RepositoryContributor/RepositoryInvitation/RepositoryTag

* add node_id to Commit related responses

* Add node_id to PullRequest related responses

* Add node_id to any response models it was found to be missing, based on auditing integration test responses

* remove unused test variable that was using a response ctor

* fix tests that need to handle node_id now

* Committer is a request object as well as response, so make nodeId optional

* fix test
2018-06-29 15:41:50 +10:00
Haacked 8031e4874d Add doc comments for Author and Committer 2015-09-28 15:14:54 -07:00
Haacked b2d6e15d48 Replace SignatureResponse and CommitEntity with Committer
A recent PR added CommitEntity but we already had
SignatureResponse expressly for this purpose.

So this commit renames SignatureResponse to Committer
and removes CommitEntity and replaces it with Committer.
2015-09-28 00:38:16 -07:00
William Barbosa ce5acfc522 Creates CommitEntity for GitHubCommit
Creates the entity that corresponds to the actual payload returned by
the server to represent the Author and Committer of a commit
2015-09-18 19:03:13 -03:00
Micah c3a67ae777 Creates constructors for all Models.Response.
Resolves https://github.com/octokit/octokit.net/issues/677.

Removes obscolete properties (gravatar).
Makes Models.Response properties all be protected (most were already).
2015-01-24 16:07:03 -08:00
Kristian Hellang 21ca33817d Fixed failing tests 2015-01-06 00:27:16 +01:00
Dillon Buchanan 9ac06526b1 Added missing fields to GitHubCommit 2014-12-22 22:02:02 -05:00
Daniel Cazzulino ca45ae0555 Include files array in the github commit.
Fixes #607.
2014-11-28 10:47:19 -03:00
Brendan's Test Account ea9b0d27b0 dat code review feedback 2014-03-21 11:12:57 +13:00
Brendan Forster cb742eeb80 changed commit model over to enhanced type, updated usages 2014-03-19 10:19:26 +13:00