{"action":"opened","number":206,"pull_request":{"url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/pulls/206","id":38169884,"html_url":"https://github.com/mongodb/mongo-csharp-driver/pull/206","diff_url":"https://github.com/mongodb/mongo-csharp-driver/pull/206.diff","patch_url":"https://github.com/mongodb/mongo-csharp-driver/pull/206.patch","issue_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/issues/206","number":206,"state":"open","locked":false,"title":"CSHARP-1315 Added support for $filter during $project phase of aggreg…","user":{"login":"kierenj","id":82343,"avatar_url":"https://avatars.githubusercontent.com/u/82343?v=3","gravatar_id":"","url":"https://api.github.com/users/kierenj","html_url":"https://github.com/kierenj","followers_url":"https://api.github.com/users/kierenj/followers","following_url":"https://api.github.com/users/kierenj/following{/other_user}","gists_url":"https://api.github.com/users/kierenj/gists{/gist_id}","starred_url":"https://api.github.com/users/kierenj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kierenj/subscriptions","organizations_url":"https://api.github.com/users/kierenj/orgs","repos_url":"https://api.github.com/users/kierenj/repos","events_url":"https://api.github.com/users/kierenj/events{/privacy}","received_events_url":"https://api.github.com/users/kierenj/received_events","type":"User","site_admin":false},"body":"…ation pipeline, via Where() +test\r\n\r\nTried to keep implementation as similar in style to existing code as possible; TryBuildFilter() in particular is a close copy of TryBuildMap(), used by Select().  This includes the \"// HACK\" for adding a single additional $ to the param replacement.\r\n\r\nAny questions or problems let me know!","created_at":"2015-06-20T15:47:20Z","updated_at":"2015-06-20T15:47:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/pulls/206/commits","review_comments_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/pulls/206/comments","review_comment_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/issues/206/comments","statuses_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/statuses/fe21ca5de35112e6106c37f769e175f43a54f2f1","head":{"label":"RedRiverSoftware:master","ref":"master","sha":"fe21ca5de35112e6106c37f769e175f43a54f2f1","user":{"login":"RedRiverSoftware","id":1917985,"avatar_url":"https://avatars.githubusercontent.com/u/1917985?v=3","gravatar_id":"","url":"https://api.github.com/users/RedRiverSoftware","html_url":"https://github.com/RedRiverSoftware","followers_url":"https://api.github.com/users/RedRiverSoftware/followers","following_url":"https://api.github.com/users/RedRiverSoftware/following{/other_user}","gists_url":"https://api.github.com/users/RedRiverSoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/RedRiverSoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RedRiverSoftware/subscriptions","organizations_url":"https://api.github.com/users/RedRiverSoftware/orgs","repos_url":"https://api.github.com/users/RedRiverSoftware/repos","events_url":"https://api.github.com/users/RedRiverSoftware/events{/privacy}","received_events_url":"https://api.github.com/users/RedRiverSoftware/received_events","type":"Organization","site_admin":false},"repo":{"id":37774346,"name":"mongo-csharp-driver","full_name":"RedRiverSoftware/mongo-csharp-driver","owner":{"login":"RedRiverSoftware","id":1917985,"avatar_url":"https://avatars.githubusercontent.com/u/1917985?v=3","gravatar_id":"","url":"https://api.github.com/users/RedRiverSoftware","html_url":"https://github.com/RedRiverSoftware","followers_url":"https://api.github.com/users/RedRiverSoftware/followers","following_url":"https://api.github.com/users/RedRiverSoftware/following{/other_user}","gists_url":"https://api.github.com/users/RedRiverSoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/RedRiverSoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RedRiverSoftware/subscriptions","organizations_url":"https://api.github.com/users/RedRiverSoftware/orgs","repos_url":"https://api.github.com/users/RedRiverSoftware/repos","events_url":"https://api.github.com/users/RedRiverSoftware/events{/privacy}","received_events_url":"https://api.github.com/users/RedRiverSoftware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RedRiverSoftware/mongo-csharp-driver","description":".NET Driver for MongoDB","fork":true,"url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver","forks_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/forks","keys_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/teams","hooks_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/hooks","issue_events_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/issues/events{/number}","events_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/events","assignees_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/assignees{/user}","branches_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/branches{/branch}","tags_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/tags","blobs_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/languages","stargazers_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/stargazers","contributors_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/contributors","subscribers_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/subscribers","subscription_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/subscription","commits_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/contents/{+path}","compare_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/merges","archive_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/downloads","issues_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/issues{/number}","pulls_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/labels{/name}","releases_url":"https://api.github.com/repos/RedRiverSoftware/mongo-csharp-driver/releases{/id}","created_at":"2015-06-20T15:23:08Z","updated_at":"2015-06-20T15:23:13Z","pushed_at":"2015-06-20T15:45:23Z","git_url":"git://github.com/RedRiverSoftware/mongo-csharp-driver.git","ssh_url":"git@github.com:RedRiverSoftware/mongo-csharp-driver.git","clone_url":"https://github.com/RedRiverSoftware/mongo-csharp-driver.git","svn_url":"https://github.com/RedRiverSoftware/mongo-csharp-driver","homepage":"http://mongodb.github.io/mongo-csharp-driver/","size":39692,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mongodb:master","ref":"master","sha":"39600fc97d3569b1cbeb8dcef0eec33f2a087be1","user":{"login":"mongodb","id":45120,"avatar_url":"https://avatars.githubusercontent.com/u/45120?v=3","gravatar_id":"","url":"https://api.github.com/users/mongodb","html_url":"https://github.com/mongodb","followers_url":"https://api.github.com/users/mongodb/followers","following_url":"https://api.github.com/users/mongodb/following{/other_user}","gists_url":"https://api.github.com/users/mongodb/gists{/gist_id}","starred_url":"https://api.github.com/users/mongodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongodb/subscriptions","organizations_url":"https://api.github.com/users/mongodb/orgs","repos_url":"https://api.github.com/users/mongodb/repos","events_url":"https://api.github.com/users/mongodb/events{/privacy}","received_events_url":"https://api.github.com/users/mongodb/received_events","type":"Organization","site_admin":false},"repo":{"id":699689,"name":"mongo-csharp-driver","full_name":"mongodb/mongo-csharp-driver","owner":{"login":"mongodb","id":45120,"avatar_url":"https://avatars.githubusercontent.com/u/45120?v=3","gravatar_id":"","url":"https://api.github.com/users/mongodb","html_url":"https://github.com/mongodb","followers_url":"https://api.github.com/users/mongodb/followers","following_url":"https://api.github.com/users/mongodb/following{/other_user}","gists_url":"https://api.github.com/users/mongodb/gists{/gist_id}","starred_url":"https://api.github.com/users/mongodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongodb/subscriptions","organizations_url":"https://api.github.com/users/mongodb/orgs","repos_url":"https://api.github.com/users/mongodb/repos","events_url":"https://api.github.com/users/mongodb/events{/privacy}","received_events_url":"https://api.github.com/users/mongodb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mongodb/mongo-csharp-driver","description":".NET Driver for MongoDB","fork":false,"url":"https://api.github.com/repos/mongodb/mongo-csharp-driver","forks_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/forks","keys_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/teams","hooks_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/hooks","issue_events_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/issues/events{/number}","events_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/events","assignees_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/assignees{/user}","branches_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/branches{/branch}","tags_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/tags","blobs_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/languages","stargazers_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/stargazers","contributors_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/contributors","subscribers_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/subscribers","subscription_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/subscription","commits_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/contents/{+path}","compare_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/merges","archive_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/downloads","issues_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/issues{/number}","pulls_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/labels{/name}","releases_url":"https://api.github.com/repos/mongodb/mongo-csharp-driver/releases{/id}","created_at":"2010-06-02T18:22:21Z","updated_at":"2015-06-19T01:09:18Z","pushed_at":"2015-06-19T20:34:14Z","git_url":"git://github.com/mongodb/mongo-csharp-driver.git","ssh_url":"git@github.com:mongodb/mongo-csharp-driver.git","clone_url":"https://github.com/mongodb/mongo-csharp-driver.git","svn_url":"https://github.com/mongodb/mongo-csharp-driver","homepage":"http://mongodb.github.io/mongo-csharp-driver/","size":39692,"stargazers_count":1090,"watchers_count":1090,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":501,"mirror_url":null,"open_issues_count":14,"forks":501,"open_issues":14,"watchers":1090,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mongodb/mongo-csharp-driver/pulls/206"},"html":{"href":"https://github.com/mongodb/mongo-csharp-driver/pull/206"},"issue":{"href":"https://api.github.com/repos/mongodb/mongo-csharp-driver/issues/206"},"comments":{"href":"https://api.github.com/repos/mongodb/mongo-csharp-driver/issues/206/comments"},"review_comments":{"href":"https://api.github.com/repos/mongodb/mongo-csharp-driver/pulls/206/comments"},"review_comment":{"href":"https://api.github.com/repos/mongodb/mongo-csharp-driver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mongodb/mongo-csharp-driver/pulls/206/commits"},"statuses":{"href":"https://api.github.com/repos/mongodb/mongo-csharp-driver/statuses/fe21ca5de35112e6106c37f769e175f43a54f2f1"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":46,"deletions":0,"changed_files":3}}