{"action":"closed","number":331,"pull_request":{"url":"https://api.github.com/repos/edgedb/edgedb/pulls/331","id":233290621,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzMjkwNjIx","html_url":"https://github.com/edgedb/edgedb/pull/331","diff_url":"https://github.com/edgedb/edgedb/pull/331.diff","patch_url":"https://github.com/edgedb/edgedb/pull/331.patch","issue_url":"https://api.github.com/repos/edgedb/edgedb/issues/331","number":331,"state":"closed","locked":false,"title":"Make schema fully immutable","user":{"login":"elprans","id":347119,"node_id":"MDQ6VXNlcjM0NzExOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/347119?v=4","gravatar_id":"","url":"https://api.github.com/users/elprans","html_url":"https://github.com/elprans","followers_url":"https://api.github.com/users/elprans/followers","following_url":"https://api.github.com/users/elprans/following{/other_user}","gists_url":"https://api.github.com/users/elprans/gists{/gist_id}","starred_url":"https://api.github.com/users/elprans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elprans/subscriptions","organizations_url":"https://api.github.com/users/elprans/orgs","repos_url":"https://api.github.com/users/elprans/repos","events_url":"https://api.github.com/users/elprans/events{/privacy}","received_events_url":"https://api.github.com/users/elprans/received_events","type":"User","site_admin":false},"body":"This is the culmination of the schema immutability effort.  Data for\nschema item fields, as well as all schema indexes are now using\n`immutable.Map`, and every schema mutation now returns a schema copy.\n\nThis change allows us to do things like durable schema snapshots in\ntransactions, as well as free schema copies.\n\nCo-authored-by: Yury Selivanov (@1st1)","created_at":"2018-11-23T23:49:33Z","updated_at":"2018-11-24T02:59:34Z","closed_at":"2018-11-24T02:59:34Z","merged_at":"2018-11-24T02:59:34Z","merge_commit_sha":"2e2d7f2f59f6946279d3bd644e7d82f977385466","assignee":null,"assignees":[],"requested_reviewers":[{"login":"1st1","id":239003,"node_id":"MDQ6VXNlcjIzOTAwMw==","avatar_url":"https://avatars0.githubusercontent.com/u/239003?v=4","gravatar_id":"","url":"https://api.github.com/users/1st1","html_url":"https://github.com/1st1","followers_url":"https://api.github.com/users/1st1/followers","following_url":"https://api.github.com/users/1st1/following{/other_user}","gists_url":"https://api.github.com/users/1st1/gists{/gist_id}","starred_url":"https://api.github.com/users/1st1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1st1/subscriptions","organizations_url":"https://api.github.com/users/1st1/orgs","repos_url":"https://api.github.com/users/1st1/repos","events_url":"https://api.github.com/users/1st1/events{/privacy}","received_events_url":"https://api.github.com/users/1st1/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/edgedb/edgedb/pulls/331/commits","review_comments_url":"https://api.github.com/repos/edgedb/edgedb/pulls/331/comments","review_comment_url":"https://api.github.com/repos/edgedb/edgedb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edgedb/edgedb/issues/331/comments","statuses_url":"https://api.github.com/repos/edgedb/edgedb/statuses/2e2d7f2f59f6946279d3bd644e7d82f977385466","head":{"label":"edgedb:immu","ref":"immu","sha":"2e2d7f2f59f6946279d3bd644e7d82f977385466","user":{"login":"edgedb","id":14262913,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MjYyOTEz","avatar_url":"https://avatars1.githubusercontent.com/u/14262913?v=4","gravatar_id":"","url":"https://api.github.com/users/edgedb","html_url":"https://github.com/edgedb","followers_url":"https://api.github.com/users/edgedb/followers","following_url":"https://api.github.com/users/edgedb/following{/other_user}","gists_url":"https://api.github.com/users/edgedb/gists{/gist_id}","starred_url":"https://api.github.com/users/edgedb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edgedb/subscriptions","organizations_url":"https://api.github.com/users/edgedb/orgs","repos_url":"https://api.github.com/users/edgedb/repos","events_url":"https://api.github.com/users/edgedb/events{/privacy}","received_events_url":"https://api.github.com/users/edgedb/received_events","type":"Organization","site_admin":false},"repo":{"id":95817032,"node_id":"MDEwOlJlcG9zaXRvcnk5NTgxNzAzMg==","name":"edgedb","full_name":"edgedb/edgedb","private":false,"owner":{"login":"edgedb","id":14262913,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MjYyOTEz","avatar_url":"https://avatars1.githubusercontent.com/u/14262913?v=4","gravatar_id":"","url":"https://api.github.com/users/edgedb","html_url":"https://github.com/edgedb","followers_url":"https://api.github.com/users/edgedb/followers","following_url":"https://api.github.com/users/edgedb/following{/other_user}","gists_url":"https://api.github.com/users/edgedb/gists{/gist_id}","starred_url":"https://api.github.com/users/edgedb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edgedb/subscriptions","organizations_url":"https://api.github.com/users/edgedb/orgs","repos_url":"https://api.github.com/users/edgedb/repos","events_url":"https://api.github.com/users/edgedb/events{/privacy}","received_events_url":"https://api.github.com/users/edgedb/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/edgedb/edgedb","description":"The next generation object-relational database. A @magicstack project.","fork":false,"url":"https://api.github.com/repos/edgedb/edgedb","forks_url":"https://api.github.com/repos/edgedb/edgedb/forks","keys_url":"https://api.github.com/repos/edgedb/edgedb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edgedb/edgedb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edgedb/edgedb/teams","hooks_url":"https://api.github.com/repos/edgedb/edgedb/hooks","issue_events_url":"https://api.github.com/repos/edgedb/edgedb/issues/events{/number}","events_url":"https://api.github.com/repos/edgedb/edgedb/events","assignees_url":"https://api.github.com/repos/edgedb/edgedb/assignees{/user}","branches_url":"https://api.github.com/repos/edgedb/edgedb/branches{/branch}","tags_url":"https://api.github.com/repos/edgedb/edgedb/tags","blobs_url":"https://api.github.com/repos/edgedb/edgedb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edgedb/edgedb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edgedb/edgedb/git/refs{/sha}","trees_url":"https://api.github.com/repos/edgedb/edgedb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edgedb/edgedb/statuses/{sha}","languages_url":"https://api.github.com/repos/edgedb/edgedb/languages","stargazers_url":"https://api.github.com/repos/edgedb/edgedb/stargazers","contributors_url":"https://api.github.com/repos/edgedb/edgedb/contributors","subscribers_url":"https://api.github.com/repos/edgedb/edgedb/subscribers","subscription_url":"https://api.github.com/repos/edgedb/edgedb/subscription","commits_url":"https://api.github.com/repos/edgedb/edgedb/commits{/sha}","git_commits_url":"https://api.github.com/repos/edgedb/edgedb/git/commits{/sha}","comments_url":"https://api.github.com/repos/edgedb/edgedb/comments{/number}","issue_comment_url":"https://api.github.com/repos/edgedb/edgedb/issues/comments{/number}","contents_url":"https://api.github.com/repos/edgedb/edgedb/contents/{+path}","compare_url":"https://api.github.com/repos/edgedb/edgedb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edgedb/edgedb/merges","archive_url":"https://api.github.com/repos/edgedb/edgedb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edgedb/edgedb/downloads","issues_url":"https://api.github.com/repos/edgedb/edgedb/issues{/number}","pulls_url":"https://api.github.com/repos/edgedb/edgedb/pulls{/number}","milestones_url":"https://api.github.com/repos/edgedb/edgedb/milestones{/number}","notifications_url":"https://api.github.com/repos/edgedb/edgedb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edgedb/edgedb/labels{/name}","releases_url":"https://api.github.com/repos/edgedb/edgedb/releases{/id}","deployments_url":"https://api.github.com/repos/edgedb/edgedb/deployments","created_at":"2017-06-29T20:30:48Z","updated_at":"2018-11-23T20:19:56Z","pushed_at":"2018-11-24T02:59:34Z","git_url":"git://github.com/edgedb/edgedb.git","ssh_url":"git@github.com:edgedb/edgedb.git","clone_url":"https://github.com/edgedb/edgedb.git","svn_url":"https://github.com/edgedb/edgedb","homepage":"https://edgedb.com","size":9732,"stargazers_count":1084,"watchers_count":1084,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":25,"mirror_url":null,"archived":false,"open_issues_count":50,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":25,"open_issues":50,"watchers":1084,"default_branch":"master"}},"base":{"label":"edgedb:master","ref":"master","sha":"518dc496dcb7f75afb34f52d2f7462176d5956a1","user":{"login":"edgedb","id":14262913,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MjYyOTEz","avatar_url":"https://avatars1.githubusercontent.com/u/14262913?v=4","gravatar_id":"","url":"https://api.github.com/users/edgedb","html_url":"https://github.com/edgedb","followers_url":"https://api.github.com/users/edgedb/followers","following_url":"https://api.github.com/users/edgedb/following{/other_user}","gists_url":"https://api.github.com/users/edgedb/gists{/gist_id}","starred_url":"https://api.github.com/users/edgedb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edgedb/subscriptions","organizations_url":"https://api.github.com/users/edgedb/orgs","repos_url":"https://api.github.com/users/edgedb/repos","events_url":"https://api.github.com/users/edgedb/events{/privacy}","received_events_url":"https://api.github.com/users/edgedb/received_events","type":"Organization","site_admin":false},"repo":{"id":95817032,"node_id":"MDEwOlJlcG9zaXRvcnk5NTgxNzAzMg==","name":"edgedb","full_name":"edgedb/edgedb","private":false,"owner":{"login":"edgedb","id":14262913,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MjYyOTEz","avatar_url":"https://avatars1.githubusercontent.com/u/14262913?v=4","gravatar_id":"","url":"https://api.github.com/users/edgedb","html_url":"https://github.com/edgedb","followers_url":"https://api.github.com/users/edgedb/followers","following_url":"https://api.github.com/users/edgedb/following{/other_user}","gists_url":"https://api.github.com/users/edgedb/gists{/gist_id}","starred_url":"https://api.github.com/users/edgedb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edgedb/subscriptions","organizations_url":"https://api.github.com/users/edgedb/orgs","repos_url":"https://api.github.com/users/edgedb/repos","events_url":"https://api.github.com/users/edgedb/events{/privacy}","received_events_url":"https://api.github.com/users/edgedb/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/edgedb/edgedb","description":"The next generation object-relational database. A @magicstack project.","fork":false,"url":"https://api.github.com/repos/edgedb/edgedb","forks_url":"https://api.github.com/repos/edgedb/edgedb/forks","keys_url":"https://api.github.com/repos/edgedb/edgedb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edgedb/edgedb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edgedb/edgedb/teams","hooks_url":"https://api.github.com/repos/edgedb/edgedb/hooks","issue_events_url":"https://api.github.com/repos/edgedb/edgedb/issues/events{/number}","events_url":"https://api.github.com/repos/edgedb/edgedb/events","assignees_url":"https://api.github.com/repos/edgedb/edgedb/assignees{/user}","branches_url":"https://api.github.com/repos/edgedb/edgedb/branches{/branch}","tags_url":"https://api.github.com/repos/edgedb/edgedb/tags","blobs_url":"https://api.github.com/repos/edgedb/edgedb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edgedb/edgedb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edgedb/edgedb/git/refs{/sha}","trees_url":"https://api.github.com/repos/edgedb/edgedb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edgedb/edgedb/statuses/{sha}","languages_url":"https://api.github.com/repos/edgedb/edgedb/languages","stargazers_url":"https://api.github.com/repos/edgedb/edgedb/stargazers","contributors_url":"https://api.github.com/repos/edgedb/edgedb/contributors","subscribers_url":"https://api.github.com/repos/edgedb/edgedb/subscribers","subscription_url":"https://api.github.com/repos/edgedb/edgedb/subscription","commits_url":"https://api.github.com/repos/edgedb/edgedb/commits{/sha}","git_commits_url":"https://api.github.com/repos/edgedb/edgedb/git/commits{/sha}","comments_url":"https://api.github.com/repos/edgedb/edgedb/comments{/number}","issue_comment_url":"https://api.github.com/repos/edgedb/edgedb/issues/comments{/number}","contents_url":"https://api.github.com/repos/edgedb/edgedb/contents/{+path}","compare_url":"https://api.github.com/repos/edgedb/edgedb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edgedb/edgedb/merges","archive_url":"https://api.github.com/repos/edgedb/edgedb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edgedb/edgedb/downloads","issues_url":"https://api.github.com/repos/edgedb/edgedb/issues{/number}","pulls_url":"https://api.github.com/repos/edgedb/edgedb/pulls{/number}","milestones_url":"https://api.github.com/repos/edgedb/edgedb/milestones{/number}","notifications_url":"https://api.github.com/repos/edgedb/edgedb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edgedb/edgedb/labels{/name}","releases_url":"https://api.github.com/repos/edgedb/edgedb/releases{/id}","deployments_url":"https://api.github.com/repos/edgedb/edgedb/deployments","created_at":"2017-06-29T20:30:48Z","updated_at":"2018-11-23T20:19:56Z","pushed_at":"2018-11-24T02:59:34Z","git_url":"git://github.com/edgedb/edgedb.git","ssh_url":"git@github.com:edgedb/edgedb.git","clone_url":"https://github.com/edgedb/edgedb.git","svn_url":"https://github.com/edgedb/edgedb","homepage":"https://edgedb.com","size":9732,"stargazers_count":1084,"watchers_count":1084,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":25,"mirror_url":null,"archived":false,"open_issues_count":50,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":25,"open_issues":50,"watchers":1084,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edgedb/edgedb/pulls/331"},"html":{"href":"https://github.com/edgedb/edgedb/pull/331"},"issue":{"href":"https://api.github.com/repos/edgedb/edgedb/issues/331"},"comments":{"href":"https://api.github.com/repos/edgedb/edgedb/issues/331/comments"},"review_comments":{"href":"https://api.github.com/repos/edgedb/edgedb/pulls/331/comments"},"review_comment":{"href":"https://api.github.com/repos/edgedb/edgedb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edgedb/edgedb/pulls/331/commits"},"statuses":{"href":"https://api.github.com/repos/edgedb/edgedb/statuses/2e2d7f2f59f6946279d3bd644e7d82f977385466"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"elprans","id":347119,"node_id":"MDQ6VXNlcjM0NzExOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/347119?v=4","gravatar_id":"","url":"https://api.github.com/users/elprans","html_url":"https://github.com/elprans","followers_url":"https://api.github.com/users/elprans/followers","following_url":"https://api.github.com/users/elprans/following{/other_user}","gists_url":"https://api.github.com/users/elprans/gists{/gist_id}","starred_url":"https://api.github.com/users/elprans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elprans/subscriptions","organizations_url":"https://api.github.com/users/elprans/orgs","repos_url":"https://api.github.com/users/elprans/repos","events_url":"https://api.github.com/users/elprans/events{/privacy}","received_events_url":"https://api.github.com/users/elprans/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":355,"deletions":475,"changed_files":26}}
{"actor":{"display_login":"elprans"}}