{"action":"closed","number":79,"pull_request":{"url":"https://api.github.com/repos/leekelleher/umbraco-ditto/pulls/79","id":36655303,"html_url":"https://github.com/leekelleher/umbraco-ditto/pull/79","diff_url":"https://github.com/leekelleher/umbraco-ditto/pull/79.diff","patch_url":"https://github.com/leekelleher/umbraco-ditto/pull/79.patch","issue_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/issues/79","number":79,"state":"closed","locked":false,"title":"CurrentContent attribute and value-resolver","user":{"login":"leekelleher","id":209066,"avatar_url":"https://avatars.githubusercontent.com/u/209066?v=3","gravatar_id":"","url":"https://api.github.com/users/leekelleher","html_url":"https://github.com/leekelleher","followers_url":"https://api.github.com/users/leekelleher/followers","following_url":"https://api.github.com/users/leekelleher/following{/other_user}","gists_url":"https://api.github.com/users/leekelleher/gists{/gist_id}","starred_url":"https://api.github.com/users/leekelleher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leekelleher/subscriptions","organizations_url":"https://api.github.com/users/leekelleher/orgs","repos_url":"https://api.github.com/users/leekelleher/repos","events_url":"https://api.github.com/users/leekelleher/events{/privacy}","received_events_url":"https://api.github.com/users/leekelleher/received_events","type":"User","site_admin":false},"body":"(Closes #78)\r\n\r\n--\r\n\r\nIntroduces new attribute and value-resolver to apply the current `IPublishedContent` to a POCO property.\r\n\r\nAn example...\r\n\r\n```csharp\r\npublic class MyModel\r\n{\r\n    [CurrentContent]\r\n    public MyOtherModel MyProperty { get; set; }\r\n}\r\n```\r\n\r\nThis would be the equivalent of: `foo.MyProperty = content.As<MyOtherModel>()`.\r\n","created_at":"2015-06-01T18:16:58Z","updated_at":"2015-06-17T08:24:20Z","closed_at":"2015-06-17T08:24:20Z","merged_at":"2015-06-17T08:24:20Z","merge_commit_sha":"1e8a79029ff2b806017553eecea53a67ebc71fa5","assignee":{"login":"leekelleher","id":209066,"avatar_url":"https://avatars.githubusercontent.com/u/209066?v=3","gravatar_id":"","url":"https://api.github.com/users/leekelleher","html_url":"https://github.com/leekelleher","followers_url":"https://api.github.com/users/leekelleher/followers","following_url":"https://api.github.com/users/leekelleher/following{/other_user}","gists_url":"https://api.github.com/users/leekelleher/gists{/gist_id}","starred_url":"https://api.github.com/users/leekelleher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leekelleher/subscriptions","organizations_url":"https://api.github.com/users/leekelleher/orgs","repos_url":"https://api.github.com/users/leekelleher/repos","events_url":"https://api.github.com/users/leekelleher/events{/privacy}","received_events_url":"https://api.github.com/users/leekelleher/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/leekelleher/umbraco-ditto/milestones/5","html_url":"https://github.com/leekelleher/umbraco-ditto/milestones/0.8.0","labels_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/milestones/5/labels","id":1004047,"number":5,"title":"0.8.0","description":"","creator":{"login":"leekelleher","id":209066,"avatar_url":"https://avatars.githubusercontent.com/u/209066?v=3","gravatar_id":"","url":"https://api.github.com/users/leekelleher","html_url":"https://github.com/leekelleher","followers_url":"https://api.github.com/users/leekelleher/followers","following_url":"https://api.github.com/users/leekelleher/following{/other_user}","gists_url":"https://api.github.com/users/leekelleher/gists{/gist_id}","starred_url":"https://api.github.com/users/leekelleher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leekelleher/subscriptions","organizations_url":"https://api.github.com/users/leekelleher/orgs","repos_url":"https://api.github.com/users/leekelleher/repos","events_url":"https://api.github.com/users/leekelleher/events{/privacy}","received_events_url":"https://api.github.com/users/leekelleher/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":3,"state":"open","created_at":"2015-03-03T14:06:41Z","updated_at":"2015-06-17T08:24:20Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/pulls/79/commits","review_comments_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/pulls/79/comments","review_comment_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/pulls/comments{/number}","comments_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/issues/79/comments","statuses_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/statuses/4d2a7e769bd5508a70a11390021943289e01ed09","head":{"label":"leekelleher:feature/current-content-resolver","ref":"feature/current-content-resolver","sha":"4d2a7e769bd5508a70a11390021943289e01ed09","user":{"login":"leekelleher","id":209066,"avatar_url":"https://avatars.githubusercontent.com/u/209066?v=3","gravatar_id":"","url":"https://api.github.com/users/leekelleher","html_url":"https://github.com/leekelleher","followers_url":"https://api.github.com/users/leekelleher/followers","following_url":"https://api.github.com/users/leekelleher/following{/other_user}","gists_url":"https://api.github.com/users/leekelleher/gists{/gist_id}","starred_url":"https://api.github.com/users/leekelleher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leekelleher/subscriptions","organizations_url":"https://api.github.com/users/leekelleher/orgs","repos_url":"https://api.github.com/users/leekelleher/repos","events_url":"https://api.github.com/users/leekelleher/events{/privacy}","received_events_url":"https://api.github.com/users/leekelleher/received_events","type":"User","site_admin":false},"repo":{"id":18762346,"name":"umbraco-ditto","full_name":"leekelleher/umbraco-ditto","owner":{"login":"leekelleher","id":209066,"avatar_url":"https://avatars.githubusercontent.com/u/209066?v=3","gravatar_id":"","url":"https://api.github.com/users/leekelleher","html_url":"https://github.com/leekelleher","followers_url":"https://api.github.com/users/leekelleher/followers","following_url":"https://api.github.com/users/leekelleher/following{/other_user}","gists_url":"https://api.github.com/users/leekelleher/gists{/gist_id}","starred_url":"https://api.github.com/users/leekelleher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leekelleher/subscriptions","organizations_url":"https://api.github.com/users/leekelleher/orgs","repos_url":"https://api.github.com/users/leekelleher/repos","events_url":"https://api.github.com/users/leekelleher/events{/privacy}","received_events_url":"https://api.github.com/users/leekelleher/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/leekelleher/umbraco-ditto","description":"Ditto - the friendly POCO mapper for Umbraco","fork":false,"url":"https://api.github.com/repos/leekelleher/umbraco-ditto","forks_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/forks","keys_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/teams","hooks_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/hooks","issue_events_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/issues/events{/number}","events_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/events","assignees_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/assignees{/user}","branches_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/branches{/branch}","tags_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/tags","blobs_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/git/refs{/sha}","trees_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/statuses/{sha}","languages_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/languages","stargazers_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/stargazers","contributors_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/contributors","subscribers_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/subscribers","subscription_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/subscription","commits_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/commits{/sha}","git_commits_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/git/commits{/sha}","comments_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/comments{/number}","issue_comment_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/issues/comments{/number}","contents_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/contents/{+path}","compare_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/merges","archive_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/downloads","issues_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/issues{/number}","pulls_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/pulls{/number}","milestones_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/milestones{/number}","notifications_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/labels{/name}","releases_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/releases{/id}","created_at":"2014-04-14T13:52:54Z","updated_at":"2015-06-03T08:45:30Z","pushed_at":"2015-06-17T08:24:20Z","git_url":"git://github.com/leekelleher/umbraco-ditto.git","ssh_url":"git@github.com:leekelleher/umbraco-ditto.git","clone_url":"https://github.com/leekelleher/umbraco-ditto.git","svn_url":"https://github.com/leekelleher/umbraco-ditto","homepage":"http://our.umbraco.org/projects/developer-tools/ditto","size":8288,"stargazers_count":40,"watchers_count":40,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":13,"mirror_url":null,"open_issues_count":8,"forks":13,"open_issues":8,"watchers":40,"default_branch":"develop"}},"base":{"label":"leekelleher:develop","ref":"develop","sha":"ec8825596cb271e4b846bc8bff9283b8b1dab3e4","user":{"login":"leekelleher","id":209066,"avatar_url":"https://avatars.githubusercontent.com/u/209066?v=3","gravatar_id":"","url":"https://api.github.com/users/leekelleher","html_url":"https://github.com/leekelleher","followers_url":"https://api.github.com/users/leekelleher/followers","following_url":"https://api.github.com/users/leekelleher/following{/other_user}","gists_url":"https://api.github.com/users/leekelleher/gists{/gist_id}","starred_url":"https://api.github.com/users/leekelleher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leekelleher/subscriptions","organizations_url":"https://api.github.com/users/leekelleher/orgs","repos_url":"https://api.github.com/users/leekelleher/repos","events_url":"https://api.github.com/users/leekelleher/events{/privacy}","received_events_url":"https://api.github.com/users/leekelleher/received_events","type":"User","site_admin":false},"repo":{"id":18762346,"name":"umbraco-ditto","full_name":"leekelleher/umbraco-ditto","owner":{"login":"leekelleher","id":209066,"avatar_url":"https://avatars.githubusercontent.com/u/209066?v=3","gravatar_id":"","url":"https://api.github.com/users/leekelleher","html_url":"https://github.com/leekelleher","followers_url":"https://api.github.com/users/leekelleher/followers","following_url":"https://api.github.com/users/leekelleher/following{/other_user}","gists_url":"https://api.github.com/users/leekelleher/gists{/gist_id}","starred_url":"https://api.github.com/users/leekelleher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leekelleher/subscriptions","organizations_url":"https://api.github.com/users/leekelleher/orgs","repos_url":"https://api.github.com/users/leekelleher/repos","events_url":"https://api.github.com/users/leekelleher/events{/privacy}","received_events_url":"https://api.github.com/users/leekelleher/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/leekelleher/umbraco-ditto","description":"Ditto - the friendly POCO mapper for Umbraco","fork":false,"url":"https://api.github.com/repos/leekelleher/umbraco-ditto","forks_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/forks","keys_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/teams","hooks_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/hooks","issue_events_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/issues/events{/number}","events_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/events","assignees_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/assignees{/user}","branches_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/branches{/branch}","tags_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/tags","blobs_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/git/refs{/sha}","trees_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/statuses/{sha}","languages_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/languages","stargazers_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/stargazers","contributors_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/contributors","subscribers_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/subscribers","subscription_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/subscription","commits_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/commits{/sha}","git_commits_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/git/commits{/sha}","comments_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/comments{/number}","issue_comment_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/issues/comments{/number}","contents_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/contents/{+path}","compare_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/merges","archive_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/downloads","issues_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/issues{/number}","pulls_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/pulls{/number}","milestones_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/milestones{/number}","notifications_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/labels{/name}","releases_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/releases{/id}","created_at":"2014-04-14T13:52:54Z","updated_at":"2015-06-03T08:45:30Z","pushed_at":"2015-06-17T08:24:20Z","git_url":"git://github.com/leekelleher/umbraco-ditto.git","ssh_url":"git@github.com:leekelleher/umbraco-ditto.git","clone_url":"https://github.com/leekelleher/umbraco-ditto.git","svn_url":"https://github.com/leekelleher/umbraco-ditto","homepage":"http://our.umbraco.org/projects/developer-tools/ditto","size":8288,"stargazers_count":40,"watchers_count":40,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":13,"mirror_url":null,"open_issues_count":8,"forks":13,"open_issues":8,"watchers":40,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/leekelleher/umbraco-ditto/pulls/79"},"html":{"href":"https://github.com/leekelleher/umbraco-ditto/pull/79"},"issue":{"href":"https://api.github.com/repos/leekelleher/umbraco-ditto/issues/79"},"comments":{"href":"https://api.github.com/repos/leekelleher/umbraco-ditto/issues/79/comments"},"review_comments":{"href":"https://api.github.com/repos/leekelleher/umbraco-ditto/pulls/79/comments"},"review_comment":{"href":"https://api.github.com/repos/leekelleher/umbraco-ditto/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/leekelleher/umbraco-ditto/pulls/79/commits"},"statuses":{"href":"https://api.github.com/repos/leekelleher/umbraco-ditto/statuses/4d2a7e769bd5508a70a11390021943289e01ed09"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mattbrailsford","id":527305,"avatar_url":"https://avatars.githubusercontent.com/u/527305?v=3","gravatar_id":"","url":"https://api.github.com/users/mattbrailsford","html_url":"https://github.com/mattbrailsford","followers_url":"https://api.github.com/users/mattbrailsford/followers","following_url":"https://api.github.com/users/mattbrailsford/following{/other_user}","gists_url":"https://api.github.com/users/mattbrailsford/gists{/gist_id}","starred_url":"https://api.github.com/users/mattbrailsford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattbrailsford/subscriptions","organizations_url":"https://api.github.com/users/mattbrailsford/orgs","repos_url":"https://api.github.com/users/mattbrailsford/repos","events_url":"https://api.github.com/users/mattbrailsford/events{/privacy}","received_events_url":"https://api.github.com/users/mattbrailsford/received_events","type":"User","site_admin":false},"comments":1,"review_comments":7,"commits":14,"additions":299,"deletions":8,"changed_files":10}}