{"action":"created","comment":{"url":"https://api.github.com/repos/mongodb/mongo-php-library/pulls/comments/183469586","pull_request_review_id":114473644,"id":183469586,"diff_hunk":"@@ -170,6 +174,10 @@ public function __construct($databaseName, $collectionName, array $options = [])\n             unset($options['writeConcern']);\n         }\n \n+        if (isset($options['autoIndexId'])) {","path":"src/Operation/CreateCollection.php","position":15,"original_position":15,"commit_id":"a24db747a6046e0a04a2e232388bce3346fe1100","original_commit_id":"a24db747a6046e0a04a2e232388bce3346fe1100","user":{"login":"jmikola","id":244663,"avatar_url":"https://avatars3.githubusercontent.com/u/244663?v=4","gravatar_id":"","url":"https://api.github.com/users/jmikola","html_url":"https://github.com/jmikola","followers_url":"https://api.github.com/users/jmikola/followers","following_url":"https://api.github.com/users/jmikola/following{/other_user}","gists_url":"https://api.github.com/users/jmikola/gists{/gist_id}","starred_url":"https://api.github.com/users/jmikola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmikola/subscriptions","organizations_url":"https://api.github.com/users/jmikola/orgs","repos_url":"https://api.github.com/users/jmikola/repos","events_url":"https://api.github.com/users/jmikola/events{/privacy}","received_events_url":"https://api.github.com/users/jmikola/received_events","type":"User","site_admin":false},"body":"I considered that, and/or making an exception for the `local` database, which MongoDB 4.0 should [still allow](https://jira.mongodb.org/browse/SERVER-8237?focusedCommentId=1808020&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-1808020).\r\n\r\nI'll ask this question in [DRIVERS-473](https://jira.mongodb.org/browse/DRIVERS-473).\r\n\r\nMaking an exception for the `local` database would be easy, although restrictions based on server version would require us to move this notice to `execute()`, which is a bit lousy.","created_at":"2018-04-23T17:06:49Z","updated_at":"2018-04-23T17:06:49Z","html_url":"https://github.com/mongodb/mongo-php-library/pull/533#discussion_r183469586","pull_request_url":"https://api.github.com/repos/mongodb/mongo-php-library/pulls/533","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/mongodb/mongo-php-library/pulls/comments/183469586"},"html":{"href":"https://github.com/mongodb/mongo-php-library/pull/533#discussion_r183469586"},"pull_request":{"href":"https://api.github.com/repos/mongodb/mongo-php-library/pulls/533"}},"in_reply_to_id":183446692},"pull_request":{"url":"https://api.github.com/repos/mongodb/mongo-php-library/pulls/533","id":183468387,"html_url":"https://github.com/mongodb/mongo-php-library/pull/533","diff_url":"https://github.com/mongodb/mongo-php-library/pull/533.diff","patch_url":"https://github.com/mongodb/mongo-php-library/pull/533.patch","issue_url":"https://api.github.com/repos/mongodb/mongo-php-library/issues/533","number":533,"state":"open","locked":false,"title":"PHPLIB-346: Deprecate autoIndexId option for CreateCollection","user":{"login":"jmikola","id":244663,"avatar_url":"https://avatars3.githubusercontent.com/u/244663?v=4","gravatar_id":"","url":"https://api.github.com/users/jmikola","html_url":"https://github.com/jmikola","followers_url":"https://api.github.com/users/jmikola/followers","following_url":"https://api.github.com/users/jmikola/following{/other_user}","gists_url":"https://api.github.com/users/jmikola/gists{/gist_id}","starred_url":"https://api.github.com/users/jmikola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmikola/subscriptions","organizations_url":"https://api.github.com/users/jmikola/orgs","repos_url":"https://api.github.com/users/jmikola/repos","events_url":"https://api.github.com/users/jmikola/events{/privacy}","received_events_url":"https://api.github.com/users/jmikola/received_events","type":"User","site_admin":false},"body":"https://jira.mongodb.org/browse/PHPLIB-346","created_at":"2018-04-23T15:15:42Z","updated_at":"2018-04-23T17:06:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e255ea4b9873838c6e16fae61d3bbb6d58fbb2a3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mongodb/mongo-php-library/pulls/533/commits","review_comments_url":"https://api.github.com/repos/mongodb/mongo-php-library/pulls/533/comments","review_comment_url":"https://api.github.com/repos/mongodb/mongo-php-library/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mongodb/mongo-php-library/issues/533/comments","statuses_url":"https://api.github.com/repos/mongodb/mongo-php-library/statuses/a24db747a6046e0a04a2e232388bce3346fe1100","head":{"label":"jmikola:phplib-346","ref":"phplib-346","sha":"a24db747a6046e0a04a2e232388bce3346fe1100","user":{"login":"jmikola","id":244663,"avatar_url":"https://avatars3.githubusercontent.com/u/244663?v=4","gravatar_id":"","url":"https://api.github.com/users/jmikola","html_url":"https://github.com/jmikola","followers_url":"https://api.github.com/users/jmikola/followers","following_url":"https://api.github.com/users/jmikola/following{/other_user}","gists_url":"https://api.github.com/users/jmikola/gists{/gist_id}","starred_url":"https://api.github.com/users/jmikola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmikola/subscriptions","organizations_url":"https://api.github.com/users/jmikola/orgs","repos_url":"https://api.github.com/users/jmikola/repos","events_url":"https://api.github.com/users/jmikola/events{/privacy}","received_events_url":"https://api.github.com/users/jmikola/received_events","type":"User","site_admin":false},"repo":{"id":32424487,"name":"mongo-php-library","full_name":"jmikola/mongo-php-library","owner":{"login":"jmikola","id":244663,"avatar_url":"https://avatars3.githubusercontent.com/u/244663?v=4","gravatar_id":"","url":"https://api.github.com/users/jmikola","html_url":"https://github.com/jmikola","followers_url":"https://api.github.com/users/jmikola/followers","following_url":"https://api.github.com/users/jmikola/following{/other_user}","gists_url":"https://api.github.com/users/jmikola/gists{/gist_id}","starred_url":"https://api.github.com/users/jmikola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmikola/subscriptions","organizations_url":"https://api.github.com/users/jmikola/orgs","repos_url":"https://api.github.com/users/jmikola/repos","events_url":"https://api.github.com/users/jmikola/events{/privacy}","received_events_url":"https://api.github.com/users/jmikola/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jmikola/mongo-php-library","description":"MongoDB library for PHP (experimental)","fork":true,"url":"https://api.github.com/repos/jmikola/mongo-php-library","forks_url":"https://api.github.com/repos/jmikola/mongo-php-library/forks","keys_url":"https://api.github.com/repos/jmikola/mongo-php-library/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jmikola/mongo-php-library/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jmikola/mongo-php-library/teams","hooks_url":"https://api.github.com/repos/jmikola/mongo-php-library/hooks","issue_events_url":"https://api.github.com/repos/jmikola/mongo-php-library/issues/events{/number}","events_url":"https://api.github.com/repos/jmikola/mongo-php-library/events","assignees_url":"https://api.github.com/repos/jmikola/mongo-php-library/assignees{/user}","branches_url":"https://api.github.com/repos/jmikola/mongo-php-library/branches{/branch}","tags_url":"https://api.github.com/repos/jmikola/mongo-php-library/tags","blobs_url":"https://api.github.com/repos/jmikola/mongo-php-library/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jmikola/mongo-php-library/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jmikola/mongo-php-library/git/refs{/sha}","trees_url":"https://api.github.com/repos/jmikola/mongo-php-library/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jmikola/mongo-php-library/statuses/{sha}","languages_url":"https://api.github.com/repos/jmikola/mongo-php-library/languages","stargazers_url":"https://api.github.com/repos/jmikola/mongo-php-library/stargazers","contributors_url":"https://api.github.com/repos/jmikola/mongo-php-library/contributors","subscribers_url":"https://api.github.com/repos/jmikola/mongo-php-library/subscribers","subscription_url":"https://api.github.com/repos/jmikola/mongo-php-library/subscription","commits_url":"https://api.github.com/repos/jmikola/mongo-php-library/commits{/sha}","git_commits_url":"https://api.github.com/repos/jmikola/mongo-php-library/git/commits{/sha}","comments_url":"https://api.github.com/repos/jmikola/mongo-php-library/comments{/number}","issue_comment_url":"https://api.github.com/repos/jmikola/mongo-php-library/issues/comments{/number}","contents_url":"https://api.github.com/repos/jmikola/mongo-php-library/contents/{+path}","compare_url":"https://api.github.com/repos/jmikola/mongo-php-library/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jmikola/mongo-php-library/merges","archive_url":"https://api.github.com/repos/jmikola/mongo-php-library/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jmikola/mongo-php-library/downloads","issues_url":"https://api.github.com/repos/jmikola/mongo-php-library/issues{/number}","pulls_url":"https://api.github.com/repos/jmikola/mongo-php-library/pulls{/number}","milestones_url":"https://api.github.com/repos/jmikola/mongo-php-library/milestones{/number}","notifications_url":"https://api.github.com/repos/jmikola/mongo-php-library/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jmikola/mongo-php-library/labels{/name}","releases_url":"https://api.github.com/repos/jmikola/mongo-php-library/releases{/id}","deployments_url":"https://api.github.com/repos/jmikola/mongo-php-library/deployments","created_at":"2015-03-17T22:38:29Z","updated_at":"2018-04-19T16:53:43Z","pushed_at":"2018-04-23T15:29:24Z","git_url":"git://github.com/jmikola/mongo-php-library.git","ssh_url":"git@github.com:jmikola/mongo-php-library.git","clone_url":"https://github.com/jmikola/mongo-php-library.git","svn_url":"https://github.com/jmikola/mongo-php-library","homepage":"","size":1749,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mongodb:master","ref":"master","sha":"5e1ce36be60aeffb5a93707c1836e549f105b9b4","user":{"login":"mongodb","id":45120,"avatar_url":"https://avatars1.githubusercontent.com/u/45120?v=4","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":27557391,"name":"mongo-php-library","full_name":"mongodb/mongo-php-library","owner":{"login":"mongodb","id":45120,"avatar_url":"https://avatars1.githubusercontent.com/u/45120?v=4","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-php-library","description":"MongoDB PHP library","fork":false,"url":"https://api.github.com/repos/mongodb/mongo-php-library","forks_url":"https://api.github.com/repos/mongodb/mongo-php-library/forks","keys_url":"https://api.github.com/repos/mongodb/mongo-php-library/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mongodb/mongo-php-library/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mongodb/mongo-php-library/teams","hooks_url":"https://api.github.com/repos/mongodb/mongo-php-library/hooks","issue_events_url":"https://api.github.com/repos/mongodb/mongo-php-library/issues/events{/number}","events_url":"https://api.github.com/repos/mongodb/mongo-php-library/events","assignees_url":"https://api.github.com/repos/mongodb/mongo-php-library/assignees{/user}","branches_url":"https://api.github.com/repos/mongodb/mongo-php-library/branches{/branch}","tags_url":"https://api.github.com/repos/mongodb/mongo-php-library/tags","blobs_url":"https://api.github.com/repos/mongodb/mongo-php-library/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mongodb/mongo-php-library/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mongodb/mongo-php-library/git/refs{/sha}","trees_url":"https://api.github.com/repos/mongodb/mongo-php-library/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mongodb/mongo-php-library/statuses/{sha}","languages_url":"https://api.github.com/repos/mongodb/mongo-php-library/languages","stargazers_url":"https://api.github.com/repos/mongodb/mongo-php-library/stargazers","contributors_url":"https://api.github.com/repos/mongodb/mongo-php-library/contributors","subscribers_url":"https://api.github.com/repos/mongodb/mongo-php-library/subscribers","subscription_url":"https://api.github.com/repos/mongodb/mongo-php-library/subscription","commits_url":"https://api.github.com/repos/mongodb/mongo-php-library/commits{/sha}","git_commits_url":"https://api.github.com/repos/mongodb/mongo-php-library/git/commits{/sha}","comments_url":"https://api.github.com/repos/mongodb/mongo-php-library/comments{/number}","issue_comment_url":"https://api.github.com/repos/mongodb/mongo-php-library/issues/comments{/number}","contents_url":"https://api.github.com/repos/mongodb/mongo-php-library/contents/{+path}","compare_url":"https://api.github.com/repos/mongodb/mongo-php-library/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mongodb/mongo-php-library/merges","archive_url":"https://api.github.com/repos/mongodb/mongo-php-library/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mongodb/mongo-php-library/downloads","issues_url":"https://api.github.com/repos/mongodb/mongo-php-library/issues{/number}","pulls_url":"https://api.github.com/repos/mongodb/mongo-php-library/pulls{/number}","milestones_url":"https://api.github.com/repos/mongodb/mongo-php-library/milestones{/number}","notifications_url":"https://api.github.com/repos/mongodb/mongo-php-library/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mongodb/mongo-php-library/labels{/name}","releases_url":"https://api.github.com/repos/mongodb/mongo-php-library/releases{/id}","deployments_url":"https://api.github.com/repos/mongodb/mongo-php-library/deployments","created_at":"2014-12-04T19:55:40Z","updated_at":"2018-04-22T13:07:14Z","pushed_at":"2018-04-23T15:29:25Z","git_url":"git://github.com/mongodb/mongo-php-library.git","ssh_url":"git@github.com:mongodb/mongo-php-library.git","clone_url":"https://github.com/mongodb/mongo-php-library.git","svn_url":"https://github.com/mongodb/mongo-php-library","homepage":"https://docs.mongodb.com/php-library/","size":1748,"stargazers_count":713,"watchers_count":713,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":174,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":174,"open_issues":8,"watchers":713,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mongodb/mongo-php-library/pulls/533"},"html":{"href":"https://github.com/mongodb/mongo-php-library/pull/533"},"issue":{"href":"https://api.github.com/repos/mongodb/mongo-php-library/issues/533"},"comments":{"href":"https://api.github.com/repos/mongodb/mongo-php-library/issues/533/comments"},"review_comments":{"href":"https://api.github.com/repos/mongodb/mongo-php-library/pulls/533/comments"},"review_comment":{"href":"https://api.github.com/repos/mongodb/mongo-php-library/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mongodb/mongo-php-library/pulls/533/commits"},"statuses":{"href":"https://api.github.com/repos/mongodb/mongo-php-library/statuses/a24db747a6046e0a04a2e232388bce3346fe1100"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"jmikola"}}