{"action":"created","comment":{"url":"https://api.github.com/repos/AutoMapper/AutoMapper/pulls/comments/63370261","id":63370261,"diff_hunk":"@@ -73,7 +73,7 @@ public void ProjectingEnumToString()\n         {\n             var customers = new[] { new Customer() { FirstName = \"Bill\", LastName = \"White\", CustomerType = CustomerType.Vip } }.AsQueryable();\n \n-            var projected = _mapper.Map<CustomerDto[]>(customers);\n+            var projected = customers.ProjectTo<CustomerDto>(_mapper.ConfigurationProvider);","path":"src/UnitTests/IMappingExpression/NonGenericProjectEnumTest.cs","position":5,"original_position":5,"commit_id":"4e5ee0a18781fca7120e15cba5c1faabd0d0b4ec","original_commit_id":"60d7f3c64cd3483339a85e9e6fd84a6605d96b4b","user":{"login":"jbogard","id":104498,"avatar_url":"https://avatars.githubusercontent.com/u/104498?v=3","gravatar_id":"","url":"https://api.github.com/users/jbogard","html_url":"https://github.com/jbogard","followers_url":"https://api.github.com/users/jbogard/followers","following_url":"https://api.github.com/users/jbogard/following{/other_user}","gists_url":"https://api.github.com/users/jbogard/gists{/gist_id}","starred_url":"https://api.github.com/users/jbogard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbogard/subscriptions","organizations_url":"https://api.github.com/users/jbogard/orgs","repos_url":"https://api.github.com/users/jbogard/repos","events_url":"https://api.github.com/users/jbogard/events{/privacy}","received_events_url":"https://api.github.com/users/jbogard/received_events","type":"User","site_admin":false},"body":"Is that some kind of inception thing?\n\nOn Monday, May 16, 2016, Tyler Carlson <notifications@github.com> wrote:\n\n> In src/UnitTests/IMappingExpression/NonGenericProjectEnumTest.cs\n> <https://github.com/AutoMapper/AutoMapper/pull/1275#discussion_r63368748>:\n>\n> > @@ -73,7 +73,7 @@ public void ProjectingEnumToString()\n> >          {\n> >              var customers = new[] { new Customer() { FirstName = \"Bill\", LastName = \"White\", CustomerType = CustomerType.Vip } }.AsQueryable();\n> >\n> > -            var projected = _mapper.Map<CustomerDto[]>(customers);\n> > +            var projected = customers.ProjectTo<CustomerDto>(_mapper.ConfigurationProvider);\n>\n> OK then it's official. AM doesn't support projection when mapping\n> IQueryable lol\n>\n> —\n> You are receiving this because you modified the open/close state.\n> Reply to this email directly or view it on GitHub\n> <https://github.com/AutoMapper/AutoMapper/pull/1275/files/346c230e18f74d8df735efe3ec820c4b58da6251..60d7f3c64cd3483339a85e9e6fd84a6605d96b4b#r63368748>\n>\n","created_at":"2016-05-16T15:16:51Z","updated_at":"2016-05-16T15:16:51Z","html_url":"https://github.com/AutoMapper/AutoMapper/pull/1275#discussion_r63370261","pull_request_url":"https://api.github.com/repos/AutoMapper/AutoMapper/pulls/1275","_links":{"self":{"href":"https://api.github.com/repos/AutoMapper/AutoMapper/pulls/comments/63370261"},"html":{"href":"https://github.com/AutoMapper/AutoMapper/pull/1275#discussion_r63370261"},"pull_request":{"href":"https://api.github.com/repos/AutoMapper/AutoMapper/pulls/1275"}}},"pull_request":{"url":"https://api.github.com/repos/AutoMapper/AutoMapper/pulls/1275","id":70060036,"html_url":"https://github.com/AutoMapper/AutoMapper/pull/1275","diff_url":"https://github.com/AutoMapper/AutoMapper/pull/1275.diff","patch_url":"https://github.com/AutoMapper/AutoMapper/pull/1275.patch","issue_url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/1275","number":1275,"state":"closed","locked":false,"title":"Finish IObjectMapExpression conversions","user":{"login":"TylerCarlson1","id":6801536,"avatar_url":"https://avatars.githubusercontent.com/u/6801536?v=3","gravatar_id":"","url":"https://api.github.com/users/TylerCarlson1","html_url":"https://github.com/TylerCarlson1","followers_url":"https://api.github.com/users/TylerCarlson1/followers","following_url":"https://api.github.com/users/TylerCarlson1/following{/other_user}","gists_url":"https://api.github.com/users/TylerCarlson1/gists{/gist_id}","starred_url":"https://api.github.com/users/TylerCarlson1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TylerCarlson1/subscriptions","organizations_url":"https://api.github.com/users/TylerCarlson1/orgs","repos_url":"https://api.github.com/users/TylerCarlson1/repos","events_url":"https://api.github.com/users/TylerCarlson1/events{/privacy}","received_events_url":"https://api.github.com/users/TylerCarlson1/received_events","type":"User","site_admin":false},"body":"Want to also point out INullableSourceMapper changed a bit cause there's no reason to null check and do the context assert nulls, because the `Nullable<T>` is a stuct, thus it can't be null and the check isn't needed.  Also it's much simplified to read.\r\n\r\nAlso make sure when to check nullable to null they are the same types so that double? -> int won't be tried and it will say Un-mapped types instead of can't cast double? to int.\r\n\r\nStill going to go through a few more mappers to convert them to IObjectMapExpression.","created_at":"2016-05-13T21:20:47Z","updated_at":"2016-05-16T15:16:52Z","closed_at":"2016-05-16T15:01:17Z","merged_at":"2016-05-16T15:01:16Z","merge_commit_sha":"2094c2dceaee589b1c00de4dc908318e0af62697","assignee":null,"milestone":{"url":"https://api.github.com/repos/AutoMapper/AutoMapper/milestones/18","html_url":"https://github.com/AutoMapper/AutoMapper/milestones/5.0.0","labels_url":"https://api.github.com/repos/AutoMapper/AutoMapper/milestones/18/labels","id":1548192,"number":18,"title":"5.0.0","description":"","creator":{"login":"jbogard","id":104498,"avatar_url":"https://avatars.githubusercontent.com/u/104498?v=3","gravatar_id":"","url":"https://api.github.com/users/jbogard","html_url":"https://github.com/jbogard","followers_url":"https://api.github.com/users/jbogard/followers","following_url":"https://api.github.com/users/jbogard/following{/other_user}","gists_url":"https://api.github.com/users/jbogard/gists{/gist_id}","starred_url":"https://api.github.com/users/jbogard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbogard/subscriptions","organizations_url":"https://api.github.com/users/jbogard/orgs","repos_url":"https://api.github.com/users/jbogard/repos","events_url":"https://api.github.com/users/jbogard/events{/privacy}","received_events_url":"https://api.github.com/users/jbogard/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":84,"state":"open","created_at":"2016-01-28T03:40:14Z","updated_at":"2016-05-16T15:01:17Z","due_on":"2016-03-01T06:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/AutoMapper/AutoMapper/pulls/1275/commits","review_comments_url":"https://api.github.com/repos/AutoMapper/AutoMapper/pulls/1275/comments","review_comment_url":"https://api.github.com/repos/AutoMapper/AutoMapper/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/1275/comments","statuses_url":"https://api.github.com/repos/AutoMapper/AutoMapper/statuses/4e5ee0a18781fca7120e15cba5c1faabd0d0b4ec","head":{"label":"TylerCarlson1:ContinueExpressionMapper","ref":"ContinueExpressionMapper","sha":"4e5ee0a18781fca7120e15cba5c1faabd0d0b4ec","user":{"login":"TylerCarlson1","id":6801536,"avatar_url":"https://avatars.githubusercontent.com/u/6801536?v=3","gravatar_id":"","url":"https://api.github.com/users/TylerCarlson1","html_url":"https://github.com/TylerCarlson1","followers_url":"https://api.github.com/users/TylerCarlson1/followers","following_url":"https://api.github.com/users/TylerCarlson1/following{/other_user}","gists_url":"https://api.github.com/users/TylerCarlson1/gists{/gist_id}","starred_url":"https://api.github.com/users/TylerCarlson1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TylerCarlson1/subscriptions","organizations_url":"https://api.github.com/users/TylerCarlson1/orgs","repos_url":"https://api.github.com/users/TylerCarlson1/repos","events_url":"https://api.github.com/users/TylerCarlson1/events{/privacy}","received_events_url":"https://api.github.com/users/TylerCarlson1/received_events","type":"User","site_admin":false},"repo":{"id":17238253,"name":"AutoMapper","full_name":"TylerCarlson1/AutoMapper","owner":{"login":"TylerCarlson1","id":6801536,"avatar_url":"https://avatars.githubusercontent.com/u/6801536?v=3","gravatar_id":"","url":"https://api.github.com/users/TylerCarlson1","html_url":"https://github.com/TylerCarlson1","followers_url":"https://api.github.com/users/TylerCarlson1/followers","following_url":"https://api.github.com/users/TylerCarlson1/following{/other_user}","gists_url":"https://api.github.com/users/TylerCarlson1/gists{/gist_id}","starred_url":"https://api.github.com/users/TylerCarlson1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TylerCarlson1/subscriptions","organizations_url":"https://api.github.com/users/TylerCarlson1/orgs","repos_url":"https://api.github.com/users/TylerCarlson1/repos","events_url":"https://api.github.com/users/TylerCarlson1/events{/privacy}","received_events_url":"https://api.github.com/users/TylerCarlson1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TylerCarlson1/AutoMapper","description":"A convention-based object-object mapper in .NET. ","fork":true,"url":"https://api.github.com/repos/TylerCarlson1/AutoMapper","forks_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/forks","keys_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/teams","hooks_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/hooks","issue_events_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/issues/events{/number}","events_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/events","assignees_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/assignees{/user}","branches_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/branches{/branch}","tags_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/tags","blobs_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/git/refs{/sha}","trees_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/statuses/{sha}","languages_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/languages","stargazers_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/stargazers","contributors_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/contributors","subscribers_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/subscribers","subscription_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/subscription","commits_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/commits{/sha}","git_commits_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/git/commits{/sha}","comments_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/comments{/number}","issue_comment_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/issues/comments{/number}","contents_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/contents/{+path}","compare_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/merges","archive_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/downloads","issues_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/issues{/number}","pulls_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/pulls{/number}","milestones_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/milestones{/number}","notifications_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/labels{/name}","releases_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/releases{/id}","deployments_url":"https://api.github.com/repos/TylerCarlson1/AutoMapper/deployments","created_at":"2014-02-27T05:47:43Z","updated_at":"2014-06-23T17:45:51Z","pushed_at":"2016-05-16T15:08:43Z","git_url":"git://github.com/TylerCarlson1/AutoMapper.git","ssh_url":"git@github.com:TylerCarlson1/AutoMapper.git","clone_url":"https://github.com/TylerCarlson1/AutoMapper.git","svn_url":"https://github.com/TylerCarlson1/AutoMapper","homepage":"http://automapper.org","size":65637,"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":"develop"}},"base":{"label":"AutoMapper:develop","ref":"develop","sha":"0e5941adebddb688cc65cb8ff8f6395969996753","user":{"login":"AutoMapper","id":890883,"avatar_url":"https://avatars.githubusercontent.com/u/890883?v=3","gravatar_id":"","url":"https://api.github.com/users/AutoMapper","html_url":"https://github.com/AutoMapper","followers_url":"https://api.github.com/users/AutoMapper/followers","following_url":"https://api.github.com/users/AutoMapper/following{/other_user}","gists_url":"https://api.github.com/users/AutoMapper/gists{/gist_id}","starred_url":"https://api.github.com/users/AutoMapper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AutoMapper/subscriptions","organizations_url":"https://api.github.com/users/AutoMapper/orgs","repos_url":"https://api.github.com/users/AutoMapper/repos","events_url":"https://api.github.com/users/AutoMapper/events{/privacy}","received_events_url":"https://api.github.com/users/AutoMapper/received_events","type":"Organization","site_admin":false},"repo":{"id":505380,"name":"AutoMapper","full_name":"AutoMapper/AutoMapper","owner":{"login":"AutoMapper","id":890883,"avatar_url":"https://avatars.githubusercontent.com/u/890883?v=3","gravatar_id":"","url":"https://api.github.com/users/AutoMapper","html_url":"https://github.com/AutoMapper","followers_url":"https://api.github.com/users/AutoMapper/followers","following_url":"https://api.github.com/users/AutoMapper/following{/other_user}","gists_url":"https://api.github.com/users/AutoMapper/gists{/gist_id}","starred_url":"https://api.github.com/users/AutoMapper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AutoMapper/subscriptions","organizations_url":"https://api.github.com/users/AutoMapper/orgs","repos_url":"https://api.github.com/users/AutoMapper/repos","events_url":"https://api.github.com/users/AutoMapper/events{/privacy}","received_events_url":"https://api.github.com/users/AutoMapper/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AutoMapper/AutoMapper","description":"A convention-based object-object mapper in .NET. ","fork":false,"url":"https://api.github.com/repos/AutoMapper/AutoMapper","forks_url":"https://api.github.com/repos/AutoMapper/AutoMapper/forks","keys_url":"https://api.github.com/repos/AutoMapper/AutoMapper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AutoMapper/AutoMapper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AutoMapper/AutoMapper/teams","hooks_url":"https://api.github.com/repos/AutoMapper/AutoMapper/hooks","issue_events_url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/events{/number}","events_url":"https://api.github.com/repos/AutoMapper/AutoMapper/events","assignees_url":"https://api.github.com/repos/AutoMapper/AutoMapper/assignees{/user}","branches_url":"https://api.github.com/repos/AutoMapper/AutoMapper/branches{/branch}","tags_url":"https://api.github.com/repos/AutoMapper/AutoMapper/tags","blobs_url":"https://api.github.com/repos/AutoMapper/AutoMapper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AutoMapper/AutoMapper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AutoMapper/AutoMapper/git/refs{/sha}","trees_url":"https://api.github.com/repos/AutoMapper/AutoMapper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AutoMapper/AutoMapper/statuses/{sha}","languages_url":"https://api.github.com/repos/AutoMapper/AutoMapper/languages","stargazers_url":"https://api.github.com/repos/AutoMapper/AutoMapper/stargazers","contributors_url":"https://api.github.com/repos/AutoMapper/AutoMapper/contributors","subscribers_url":"https://api.github.com/repos/AutoMapper/AutoMapper/subscribers","subscription_url":"https://api.github.com/repos/AutoMapper/AutoMapper/subscription","commits_url":"https://api.github.com/repos/AutoMapper/AutoMapper/commits{/sha}","git_commits_url":"https://api.github.com/repos/AutoMapper/AutoMapper/git/commits{/sha}","comments_url":"https://api.github.com/repos/AutoMapper/AutoMapper/comments{/number}","issue_comment_url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/comments{/number}","contents_url":"https://api.github.com/repos/AutoMapper/AutoMapper/contents/{+path}","compare_url":"https://api.github.com/repos/AutoMapper/AutoMapper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AutoMapper/AutoMapper/merges","archive_url":"https://api.github.com/repos/AutoMapper/AutoMapper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AutoMapper/AutoMapper/downloads","issues_url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues{/number}","pulls_url":"https://api.github.com/repos/AutoMapper/AutoMapper/pulls{/number}","milestones_url":"https://api.github.com/repos/AutoMapper/AutoMapper/milestones{/number}","notifications_url":"https://api.github.com/repos/AutoMapper/AutoMapper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AutoMapper/AutoMapper/labels{/name}","releases_url":"https://api.github.com/repos/AutoMapper/AutoMapper/releases{/id}","deployments_url":"https://api.github.com/repos/AutoMapper/AutoMapper/deployments","created_at":"2010-02-06T15:17:58Z","updated_at":"2016-05-15T03:23:59Z","pushed_at":"2016-05-16T15:13:10Z","git_url":"git://github.com/AutoMapper/AutoMapper.git","ssh_url":"git@github.com:AutoMapper/AutoMapper.git","clone_url":"https://github.com/AutoMapper/AutoMapper.git","svn_url":"https://github.com/AutoMapper/AutoMapper","homepage":"http://automapper.org","size":136390,"stargazers_count":3470,"watchers_count":3470,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":918,"mirror_url":null,"open_issues_count":109,"forks":918,"open_issues":109,"watchers":3470,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/AutoMapper/AutoMapper/pulls/1275"},"html":{"href":"https://github.com/AutoMapper/AutoMapper/pull/1275"},"issue":{"href":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/1275"},"comments":{"href":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/1275/comments"},"review_comments":{"href":"https://api.github.com/repos/AutoMapper/AutoMapper/pulls/1275/comments"},"review_comment":{"href":"https://api.github.com/repos/AutoMapper/AutoMapper/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AutoMapper/AutoMapper/pulls/1275/commits"},"statuses":{"href":"https://api.github.com/repos/AutoMapper/AutoMapper/statuses/4e5ee0a18781fca7120e15cba5c1faabd0d0b4ec"}}}}