{"action":"created","comment":{"url":"https://api.github.com/repos/graknlabs/grakn/pulls/comments/92789629","pull_request_review_id":13308967,"id":92789629,"diff_hunk":"@@ -268,8 +247,32 @@ private Concept putConceptByType(Optional<String> name, Optional<String> id, Var\n                 Pattern rhs = var.getProperty(RhsProperty.class).get().getRhs();\n                 return type.asRuleType().addRule(lhs, rhs);\n             });\n+        } else if (type.getName().equals(Schema.MetaSchema.CONCEPT.getName())) {\n+            throw new IllegalStateException(var + \" cannot be an instance of meta-type \" + type.getName());","path":"grakn-graql/src/main/java/ai/grakn/graql/internal/query/InsertQueryExecutor.java","position":77,"original_position":77,"commit_id":"2950ebd33cf0dbe9098cdc0b045b3db306b3d706","original_commit_id":"2950ebd33cf0dbe9098cdc0b045b3db306b3d706","user":{"login":"fppt","id":4279814,"avatar_url":"https://avatars.githubusercontent.com/u/4279814?v=3","gravatar_id":"","url":"https://api.github.com/users/fppt","html_url":"https://github.com/fppt","followers_url":"https://api.github.com/users/fppt/followers","following_url":"https://api.github.com/users/fppt/following{/other_user}","gists_url":"https://api.github.com/users/fppt/gists{/gist_id}","starred_url":"https://api.github.com/users/fppt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fppt/subscriptions","organizations_url":"https://api.github.com/users/fppt/orgs","repos_url":"https://api.github.com/users/fppt/repos","events_url":"https://api.github.com/users/fppt/events{/privacy}","received_events_url":"https://api.github.com/users/fppt/received_events","type":"User","site_admin":false},"body":"This might be a redundant check because core already ensures that meta's are immutable. ","created_at":"2016-12-16T10:43:41Z","updated_at":"2016-12-16T10:43:41Z","html_url":"https://github.com/graknlabs/grakn/pull/825#discussion_r92789629","pull_request_url":"https://api.github.com/repos/graknlabs/grakn/pulls/825","_links":{"self":{"href":"https://api.github.com/repos/graknlabs/grakn/pulls/comments/92789629"},"html":{"href":"https://github.com/graknlabs/grakn/pull/825#discussion_r92789629"},"pull_request":{"href":"https://api.github.com/repos/graknlabs/grakn/pulls/825"}}},"pull_request":{"url":"https://api.github.com/repos/graknlabs/grakn/pulls/825","id":98294501,"html_url":"https://github.com/graknlabs/grakn/pull/825","diff_url":"https://github.com/graknlabs/grakn/pull/825.diff","patch_url":"https://github.com/graknlabs/grakn/pull/825.patch","issue_url":"https://api.github.com/repos/graknlabs/grakn/issues/825","number":825,"state":"open","locked":false,"title":"Merge type layers with sub edges","user":{"login":"fppt","id":4279814,"avatar_url":"https://avatars.githubusercontent.com/u/4279814?v=3","gravatar_id":"","url":"https://api.github.com/users/fppt","html_url":"https://github.com/fppt","followers_url":"https://api.github.com/users/fppt/followers","following_url":"https://api.github.com/users/fppt/following{/other_user}","gists_url":"https://api.github.com/users/fppt/gists{/gist_id}","starred_url":"https://api.github.com/users/fppt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fppt/subscriptions","organizations_url":"https://api.github.com/users/fppt/orgs","repos_url":"https://api.github.com/users/fppt/repos","events_url":"https://api.github.com/users/fppt/events{/privacy}","received_events_url":"https://api.github.com/users/fppt/received_events","type":"User","site_admin":false},"body":"- Rename Meta Ontology Elements\r\n- Merge Type Layers with sub edges\r\n- Get rid of type method on types\r\n- Propagate changes upwards","created_at":"2016-12-16T08:21:29Z","updated_at":"2016-12-16T10:46:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"49c8332c670f058d18fc78a74bc88496e63da784","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/graknlabs/grakn/pulls/825/commits","review_comments_url":"https://api.github.com/repos/graknlabs/grakn/pulls/825/comments","review_comment_url":"https://api.github.com/repos/graknlabs/grakn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/graknlabs/grakn/issues/825/comments","statuses_url":"https://api.github.com/repos/graknlabs/grakn/statuses/2950ebd33cf0dbe9098cdc0b045b3db306b3d706","head":{"label":"fppt:merge-type-layers","ref":"merge-type-layers","sha":"2950ebd33cf0dbe9098cdc0b045b3db306b3d706","user":{"login":"fppt","id":4279814,"avatar_url":"https://avatars.githubusercontent.com/u/4279814?v=3","gravatar_id":"","url":"https://api.github.com/users/fppt","html_url":"https://github.com/fppt","followers_url":"https://api.github.com/users/fppt/followers","following_url":"https://api.github.com/users/fppt/following{/other_user}","gists_url":"https://api.github.com/users/fppt/gists{/gist_id}","starred_url":"https://api.github.com/users/fppt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fppt/subscriptions","organizations_url":"https://api.github.com/users/fppt/orgs","repos_url":"https://api.github.com/users/fppt/repos","events_url":"https://api.github.com/users/fppt/events{/privacy}","received_events_url":"https://api.github.com/users/fppt/received_events","type":"User","site_admin":false},"repo":{"id":65722027,"name":"grakn","full_name":"fppt/grakn","owner":{"login":"fppt","id":4279814,"avatar_url":"https://avatars.githubusercontent.com/u/4279814?v=3","gravatar_id":"","url":"https://api.github.com/users/fppt","html_url":"https://github.com/fppt","followers_url":"https://api.github.com/users/fppt/followers","following_url":"https://api.github.com/users/fppt/following{/other_user}","gists_url":"https://api.github.com/users/fppt/gists{/gist_id}","starred_url":"https://api.github.com/users/fppt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fppt/subscriptions","organizations_url":"https://api.github.com/users/fppt/orgs","repos_url":"https://api.github.com/users/fppt/repos","events_url":"https://api.github.com/users/fppt/events{/privacy}","received_events_url":"https://api.github.com/users/fppt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fppt/grakn","description":"A Knowledge Graph Platform","fork":true,"url":"https://api.github.com/repos/fppt/grakn","forks_url":"https://api.github.com/repos/fppt/grakn/forks","keys_url":"https://api.github.com/repos/fppt/grakn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fppt/grakn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fppt/grakn/teams","hooks_url":"https://api.github.com/repos/fppt/grakn/hooks","issue_events_url":"https://api.github.com/repos/fppt/grakn/issues/events{/number}","events_url":"https://api.github.com/repos/fppt/grakn/events","assignees_url":"https://api.github.com/repos/fppt/grakn/assignees{/user}","branches_url":"https://api.github.com/repos/fppt/grakn/branches{/branch}","tags_url":"https://api.github.com/repos/fppt/grakn/tags","blobs_url":"https://api.github.com/repos/fppt/grakn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fppt/grakn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fppt/grakn/git/refs{/sha}","trees_url":"https://api.github.com/repos/fppt/grakn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fppt/grakn/statuses/{sha}","languages_url":"https://api.github.com/repos/fppt/grakn/languages","stargazers_url":"https://api.github.com/repos/fppt/grakn/stargazers","contributors_url":"https://api.github.com/repos/fppt/grakn/contributors","subscribers_url":"https://api.github.com/repos/fppt/grakn/subscribers","subscription_url":"https://api.github.com/repos/fppt/grakn/subscription","commits_url":"https://api.github.com/repos/fppt/grakn/commits{/sha}","git_commits_url":"https://api.github.com/repos/fppt/grakn/git/commits{/sha}","comments_url":"https://api.github.com/repos/fppt/grakn/comments{/number}","issue_comment_url":"https://api.github.com/repos/fppt/grakn/issues/comments{/number}","contents_url":"https://api.github.com/repos/fppt/grakn/contents/{+path}","compare_url":"https://api.github.com/repos/fppt/grakn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fppt/grakn/merges","archive_url":"https://api.github.com/repos/fppt/grakn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fppt/grakn/downloads","issues_url":"https://api.github.com/repos/fppt/grakn/issues{/number}","pulls_url":"https://api.github.com/repos/fppt/grakn/pulls{/number}","milestones_url":"https://api.github.com/repos/fppt/grakn/milestones{/number}","notifications_url":"https://api.github.com/repos/fppt/grakn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fppt/grakn/labels{/name}","releases_url":"https://api.github.com/repos/fppt/grakn/releases{/id}","deployments_url":"https://api.github.com/repos/fppt/grakn/deployments","created_at":"2016-08-15T09:47:35Z","updated_at":"2016-11-30T07:02:41Z","pushed_at":"2016-12-16T09:42:49Z","git_url":"git://github.com/fppt/grakn.git","ssh_url":"git@github.com:fppt/grakn.git","clone_url":"https://github.com/fppt/grakn.git","svn_url":"https://github.com/fppt/grakn","homepage":"https://grakn.ai","size":11719,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"graknlabs:master","ref":"master","sha":"5842cdfc42e0e38597fb2c296874a15437eceb25","user":{"login":"graknlabs","id":10490615,"avatar_url":"https://avatars.githubusercontent.com/u/10490615?v=3","gravatar_id":"","url":"https://api.github.com/users/graknlabs","html_url":"https://github.com/graknlabs","followers_url":"https://api.github.com/users/graknlabs/followers","following_url":"https://api.github.com/users/graknlabs/following{/other_user}","gists_url":"https://api.github.com/users/graknlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/graknlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graknlabs/subscriptions","organizations_url":"https://api.github.com/users/graknlabs/orgs","repos_url":"https://api.github.com/users/graknlabs/repos","events_url":"https://api.github.com/users/graknlabs/events{/privacy}","received_events_url":"https://api.github.com/users/graknlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":63110867,"name":"grakn","full_name":"graknlabs/grakn","owner":{"login":"graknlabs","id":10490615,"avatar_url":"https://avatars.githubusercontent.com/u/10490615?v=3","gravatar_id":"","url":"https://api.github.com/users/graknlabs","html_url":"https://github.com/graknlabs","followers_url":"https://api.github.com/users/graknlabs/followers","following_url":"https://api.github.com/users/graknlabs/following{/other_user}","gists_url":"https://api.github.com/users/graknlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/graknlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graknlabs/subscriptions","organizations_url":"https://api.github.com/users/graknlabs/orgs","repos_url":"https://api.github.com/users/graknlabs/repos","events_url":"https://api.github.com/users/graknlabs/events{/privacy}","received_events_url":"https://api.github.com/users/graknlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/graknlabs/grakn","description":"A Knowledge Graph Platform","fork":false,"url":"https://api.github.com/repos/graknlabs/grakn","forks_url":"https://api.github.com/repos/graknlabs/grakn/forks","keys_url":"https://api.github.com/repos/graknlabs/grakn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/graknlabs/grakn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/graknlabs/grakn/teams","hooks_url":"https://api.github.com/repos/graknlabs/grakn/hooks","issue_events_url":"https://api.github.com/repos/graknlabs/grakn/issues/events{/number}","events_url":"https://api.github.com/repos/graknlabs/grakn/events","assignees_url":"https://api.github.com/repos/graknlabs/grakn/assignees{/user}","branches_url":"https://api.github.com/repos/graknlabs/grakn/branches{/branch}","tags_url":"https://api.github.com/repos/graknlabs/grakn/tags","blobs_url":"https://api.github.com/repos/graknlabs/grakn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/graknlabs/grakn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/graknlabs/grakn/git/refs{/sha}","trees_url":"https://api.github.com/repos/graknlabs/grakn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/graknlabs/grakn/statuses/{sha}","languages_url":"https://api.github.com/repos/graknlabs/grakn/languages","stargazers_url":"https://api.github.com/repos/graknlabs/grakn/stargazers","contributors_url":"https://api.github.com/repos/graknlabs/grakn/contributors","subscribers_url":"https://api.github.com/repos/graknlabs/grakn/subscribers","subscription_url":"https://api.github.com/repos/graknlabs/grakn/subscription","commits_url":"https://api.github.com/repos/graknlabs/grakn/commits{/sha}","git_commits_url":"https://api.github.com/repos/graknlabs/grakn/git/commits{/sha}","comments_url":"https://api.github.com/repos/graknlabs/grakn/comments{/number}","issue_comment_url":"https://api.github.com/repos/graknlabs/grakn/issues/comments{/number}","contents_url":"https://api.github.com/repos/graknlabs/grakn/contents/{+path}","compare_url":"https://api.github.com/repos/graknlabs/grakn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/graknlabs/grakn/merges","archive_url":"https://api.github.com/repos/graknlabs/grakn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/graknlabs/grakn/downloads","issues_url":"https://api.github.com/repos/graknlabs/grakn/issues{/number}","pulls_url":"https://api.github.com/repos/graknlabs/grakn/pulls{/number}","milestones_url":"https://api.github.com/repos/graknlabs/grakn/milestones{/number}","notifications_url":"https://api.github.com/repos/graknlabs/grakn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/graknlabs/grakn/labels{/name}","releases_url":"https://api.github.com/repos/graknlabs/grakn/releases{/id}","deployments_url":"https://api.github.com/repos/graknlabs/grakn/deployments","created_at":"2016-07-11T23:59:57Z","updated_at":"2016-12-10T16:44:09Z","pushed_at":"2016-12-16T09:42:49Z","git_url":"git://github.com/graknlabs/grakn.git","ssh_url":"git@github.com:graknlabs/grakn.git","clone_url":"https://github.com/graknlabs/grakn.git","svn_url":"https://github.com/graknlabs/grakn","homepage":"https://grakn.ai","size":11405,"stargazers_count":78,"watchers_count":78,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":32,"forks":24,"open_issues":32,"watchers":78,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/graknlabs/grakn/pulls/825"},"html":{"href":"https://github.com/graknlabs/grakn/pull/825"},"issue":{"href":"https://api.github.com/repos/graknlabs/grakn/issues/825"},"comments":{"href":"https://api.github.com/repos/graknlabs/grakn/issues/825/comments"},"review_comments":{"href":"https://api.github.com/repos/graknlabs/grakn/pulls/825/comments"},"review_comment":{"href":"https://api.github.com/repos/graknlabs/grakn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/graknlabs/grakn/pulls/825/commits"},"statuses":{"href":"https://api.github.com/repos/graknlabs/grakn/statuses/2950ebd33cf0dbe9098cdc0b045b3db306b3d706"}}}}
{"actor":{"display_login":"fppt"}}