{"action":"opened","number":21,"pull_request":{"url":"https://api.github.com/repos/leekelleher/umbraco-ditto/pulls/21","id":27783842,"html_url":"https://github.com/leekelleher/umbraco-ditto/pull/21","diff_url":"https://github.com/leekelleher/umbraco-ditto/pull/21.diff","patch_url":"https://github.com/leekelleher/umbraco-ditto/pull/21.patch","issue_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/issues/21","number":21,"state":"open","locked":false,"title":"Parse TypeConverter attributes on enumerables","user":{"login":"JimBobSquarePants","id":385879,"avatar_url":"https://avatars.githubusercontent.com/u/385879?v=3","gravatar_id":"","url":"https://api.github.com/users/JimBobSquarePants","html_url":"https://github.com/JimBobSquarePants","followers_url":"https://api.github.com/users/JimBobSquarePants/followers","following_url":"https://api.github.com/users/JimBobSquarePants/following{/other_user}","gists_url":"https://api.github.com/users/JimBobSquarePants/gists{/gist_id}","starred_url":"https://api.github.com/users/JimBobSquarePants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JimBobSquarePants/subscriptions","organizations_url":"https://api.github.com/users/JimBobSquarePants/orgs","repos_url":"https://api.github.com/users/JimBobSquarePants/repos","events_url":"https://api.github.com/users/JimBobSquarePants/events{/privacy}","received_events_url":"https://api.github.com/users/JimBobSquarePants/received_events","type":"User","site_admin":false},"body":"This addition allows us to detect custom TypeConverter attributes for enumerable types. This lets us add the TypeConverter attribute to the type argument class itself rather than each property which dramatically cuts down fluff. \r\n\r\nAdding the TypeConverter attribute to the property will override any attributes bound to classes.\r\n\r\nE.g\r\n\r\n```\r\n[TypeConverter(typeof(FooConverter))]\r\npublic class Foo\r\n{\r\n    // Properties here\r\n}\r\n\r\npublic class Bar\r\n{\r\n    // This property will automatically map\r\n    public IEnumerable<Foo> Foos { get; set; }\r\n}\r\n```","created_at":"2015-01-21T18:42:46Z","updated_at":"2015-01-21T18:42:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/pulls/21/commits","review_comments_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/pulls/21/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/21/comments","statuses_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/statuses/04803223d20cbd18f2fdb8b04b13f4ae5f3f16e0","head":{"label":"JimBobSquarePants:feature/typeinference","ref":"feature/typeinference","sha":"04803223d20cbd18f2fdb8b04b13f4ae5f3f16e0","user":{"login":"JimBobSquarePants","id":385879,"avatar_url":"https://avatars.githubusercontent.com/u/385879?v=3","gravatar_id":"","url":"https://api.github.com/users/JimBobSquarePants","html_url":"https://github.com/JimBobSquarePants","followers_url":"https://api.github.com/users/JimBobSquarePants/followers","following_url":"https://api.github.com/users/JimBobSquarePants/following{/other_user}","gists_url":"https://api.github.com/users/JimBobSquarePants/gists{/gist_id}","starred_url":"https://api.github.com/users/JimBobSquarePants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JimBobSquarePants/subscriptions","organizations_url":"https://api.github.com/users/JimBobSquarePants/orgs","repos_url":"https://api.github.com/users/JimBobSquarePants/repos","events_url":"https://api.github.com/users/JimBobSquarePants/events{/privacy}","received_events_url":"https://api.github.com/users/JimBobSquarePants/received_events","type":"User","site_admin":false},"repo":{"id":25786567,"name":"umbraco-ditto","full_name":"JimBobSquarePants/umbraco-ditto","owner":{"login":"JimBobSquarePants","id":385879,"avatar_url":"https://avatars.githubusercontent.com/u/385879?v=3","gravatar_id":"","url":"https://api.github.com/users/JimBobSquarePants","html_url":"https://github.com/JimBobSquarePants","followers_url":"https://api.github.com/users/JimBobSquarePants/followers","following_url":"https://api.github.com/users/JimBobSquarePants/following{/other_user}","gists_url":"https://api.github.com/users/JimBobSquarePants/gists{/gist_id}","starred_url":"https://api.github.com/users/JimBobSquarePants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JimBobSquarePants/subscriptions","organizations_url":"https://api.github.com/users/JimBobSquarePants/orgs","repos_url":"https://api.github.com/users/JimBobSquarePants/repos","events_url":"https://api.github.com/users/JimBobSquarePants/events{/privacy}","received_events_url":"https://api.github.com/users/JimBobSquarePants/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JimBobSquarePants/umbraco-ditto","description":"Ditto - the friendly POCO mapper for Umbraco 7+","fork":true,"url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto","forks_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/forks","keys_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/teams","hooks_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/hooks","issue_events_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/issues/events{/number}","events_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/events","assignees_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/assignees{/user}","branches_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/branches{/branch}","tags_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/tags","blobs_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/git/refs{/sha}","trees_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/statuses/{sha}","languages_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/languages","stargazers_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/stargazers","contributors_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/contributors","subscribers_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/subscribers","subscription_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/subscription","commits_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/commits{/sha}","git_commits_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/git/commits{/sha}","comments_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/comments{/number}","issue_comment_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/issues/comments/{number}","contents_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/contents/{+path}","compare_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/merges","archive_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/downloads","issues_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/issues{/number}","pulls_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/pulls{/number}","milestones_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/milestones{/number}","notifications_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/labels{/name}","releases_url":"https://api.github.com/repos/JimBobSquarePants/umbraco-ditto/releases{/id}","created_at":"2014-10-26T18:58:06Z","updated_at":"2015-01-06T11:49:13Z","pushed_at":"2015-01-21T18:34:27Z","git_url":"git://github.com/JimBobSquarePants/umbraco-ditto.git","ssh_url":"git@github.com:JimBobSquarePants/umbraco-ditto.git","clone_url":"https://github.com/JimBobSquarePants/umbraco-ditto.git","svn_url":"https://github.com/JimBobSquarePants/umbraco-ditto","homepage":null,"size":5187,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"leekelleher:develop","ref":"develop","sha":"9615ca52cead39fdf7b07f15f91551ff20286417","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 7+","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-01-12T18:36:34Z","pushed_at":"2015-01-21T13:40:23Z","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":null,"size":5385,"stargazers_count":26,"watchers_count":26,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":4,"forks":7,"open_issues":4,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/leekelleher/umbraco-ditto/pulls/21"},"html":{"href":"https://github.com/leekelleher/umbraco-ditto/pull/21"},"issue":{"href":"https://api.github.com/repos/leekelleher/umbraco-ditto/issues/21"},"comments":{"href":"https://api.github.com/repos/leekelleher/umbraco-ditto/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/leekelleher/umbraco-ditto/pulls/21/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/21/commits"},"statuses":{"href":"https://api.github.com/repos/leekelleher/umbraco-ditto/statuses/04803223d20cbd18f2fdb8b04b13f4ae5f3f16e0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":123,"deletions":3,"changed_files":3}}