{"action":"created","comment":{"url":"https://api.github.com/repos/KaplanTestPrep/atom-go/pulls/comments/223031380","pull_request_review_id":162066947,"id":223031380,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMzAzMTM4MA==","diff_hunk":"@@ -317,6 +333,20 @@ func (cc *ContentConstraint) Validate() bool {\n \treturn len(cc.Errors) == 0\n }\n \n+func (i *Insertion) Validate() bool {\n+\tif !i.Index.IsZero() {\n+\t\tif i.ContentNames == nil || len(i.ContentNames) == 0 {","path":"sequence_recipe.go","position":42,"original_position":42,"commit_id":"c0b233f0afe82597a11f6600307cd3cb660f9d24","original_commit_id":"c0b233f0afe82597a11f6600307cd3cb660f9d24","user":{"login":"RaghavReddy","id":4998103,"node_id":"MDQ6VXNlcjQ5OTgxMDM=","avatar_url":"https://avatars1.githubusercontent.com/u/4998103?v=4","gravatar_id":"","url":"https://api.github.com/users/RaghavReddy","html_url":"https://github.com/RaghavReddy","followers_url":"https://api.github.com/users/RaghavReddy/followers","following_url":"https://api.github.com/users/RaghavReddy/following{/other_user}","gists_url":"https://api.github.com/users/RaghavReddy/gists{/gist_id}","starred_url":"https://api.github.com/users/RaghavReddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RaghavReddy/subscriptions","organizations_url":"https://api.github.com/users/RaghavReddy/orgs","repos_url":"https://api.github.com/users/RaghavReddy/repos","events_url":"https://api.github.com/users/RaghavReddy/events{/privacy}","received_events_url":"https://api.github.com/users/RaghavReddy/received_events","type":"User","site_admin":false},"body":"first condition was if Index is non-zero then we need content_names, second condition is if index is null then we don't need content_names. These checks are to make sure we need both index and content_names have to exist together.","created_at":"2018-10-05T14:42:33Z","updated_at":"2018-10-05T14:42:33Z","html_url":"https://github.com/KaplanTestPrep/atom-go/pull/6#discussion_r223031380","pull_request_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/pulls/6","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/KaplanTestPrep/atom-go/pulls/comments/223031380"},"html":{"href":"https://github.com/KaplanTestPrep/atom-go/pull/6#discussion_r223031380"},"pull_request":{"href":"https://api.github.com/repos/KaplanTestPrep/atom-go/pulls/6"}},"in_reply_to_id":223029730},"pull_request":{"url":"https://api.github.com/repos/KaplanTestPrep/atom-go/pulls/6","id":220717139,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwNzE3MTM5","html_url":"https://github.com/KaplanTestPrep/atom-go/pull/6","diff_url":"https://github.com/KaplanTestPrep/atom-go/pull/6.diff","patch_url":"https://github.com/KaplanTestPrep/atom-go/pull/6.patch","issue_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/issues/6","number":6,"state":"open","locked":false,"title":"insertions to support instruction items","user":{"login":"RaghavReddy","id":4998103,"node_id":"MDQ6VXNlcjQ5OTgxMDM=","avatar_url":"https://avatars1.githubusercontent.com/u/4998103?v=4","gravatar_id":"","url":"https://api.github.com/users/RaghavReddy","html_url":"https://github.com/RaghavReddy","followers_url":"https://api.github.com/users/RaghavReddy/followers","following_url":"https://api.github.com/users/RaghavReddy/following{/other_user}","gists_url":"https://api.github.com/users/RaghavReddy/gists{/gist_id}","starred_url":"https://api.github.com/users/RaghavReddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RaghavReddy/subscriptions","organizations_url":"https://api.github.com/users/RaghavReddy/orgs","repos_url":"https://api.github.com/users/RaghavReddy/repos","events_url":"https://api.github.com/users/RaghavReddy/events{/privacy}","received_events_url":"https://api.github.com/users/RaghavReddy/received_events","type":"User","site_admin":false},"body":"Based on conversation to support instructions selection recipe need to support insertions.\r\nhttps://docs.google.com/document/d/1KUrQrTh5M2Da4YrOVnuEHLvObEKCKJFjENzzRzW6SUg/edit","created_at":"2018-10-05T14:16:32Z","updated_at":"2018-10-05T14:42:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b2434f9e1e35cce169886e0678977774622020e1","assignee":null,"assignees":[],"requested_reviewers":[{"login":"danielnegri","id":477646,"node_id":"MDQ6VXNlcjQ3NzY0Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/477646?v=4","gravatar_id":"","url":"https://api.github.com/users/danielnegri","html_url":"https://github.com/danielnegri","followers_url":"https://api.github.com/users/danielnegri/followers","following_url":"https://api.github.com/users/danielnegri/following{/other_user}","gists_url":"https://api.github.com/users/danielnegri/gists{/gist_id}","starred_url":"https://api.github.com/users/danielnegri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielnegri/subscriptions","organizations_url":"https://api.github.com/users/danielnegri/orgs","repos_url":"https://api.github.com/users/danielnegri/repos","events_url":"https://api.github.com/users/danielnegri/events{/privacy}","received_events_url":"https://api.github.com/users/danielnegri/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/pulls/6/commits","review_comments_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/pulls/6/comments","review_comment_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/issues/6/comments","statuses_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/statuses/c0b233f0afe82597a11f6600307cd3cb660f9d24","head":{"label":"KaplanTestPrep:feature/insertions","ref":"feature/insertions","sha":"c0b233f0afe82597a11f6600307cd3cb660f9d24","user":{"login":"KaplanTestPrep","id":244622,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NDYyMg==","avatar_url":"https://avatars1.githubusercontent.com/u/244622?v=4","gravatar_id":"","url":"https://api.github.com/users/KaplanTestPrep","html_url":"https://github.com/KaplanTestPrep","followers_url":"https://api.github.com/users/KaplanTestPrep/followers","following_url":"https://api.github.com/users/KaplanTestPrep/following{/other_user}","gists_url":"https://api.github.com/users/KaplanTestPrep/gists{/gist_id}","starred_url":"https://api.github.com/users/KaplanTestPrep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KaplanTestPrep/subscriptions","organizations_url":"https://api.github.com/users/KaplanTestPrep/orgs","repos_url":"https://api.github.com/users/KaplanTestPrep/repos","events_url":"https://api.github.com/users/KaplanTestPrep/events{/privacy}","received_events_url":"https://api.github.com/users/KaplanTestPrep/received_events","type":"Organization","site_admin":false},"repo":{"id":147385483,"node_id":"MDEwOlJlcG9zaXRvcnkxNDczODU0ODM=","name":"atom-go","full_name":"KaplanTestPrep/atom-go","private":false,"owner":{"login":"KaplanTestPrep","id":244622,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NDYyMg==","avatar_url":"https://avatars1.githubusercontent.com/u/244622?v=4","gravatar_id":"","url":"https://api.github.com/users/KaplanTestPrep","html_url":"https://github.com/KaplanTestPrep","followers_url":"https://api.github.com/users/KaplanTestPrep/followers","following_url":"https://api.github.com/users/KaplanTestPrep/following{/other_user}","gists_url":"https://api.github.com/users/KaplanTestPrep/gists{/gist_id}","starred_url":"https://api.github.com/users/KaplanTestPrep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KaplanTestPrep/subscriptions","organizations_url":"https://api.github.com/users/KaplanTestPrep/orgs","repos_url":"https://api.github.com/users/KaplanTestPrep/repos","events_url":"https://api.github.com/users/KaplanTestPrep/events{/privacy}","received_events_url":"https://api.github.com/users/KaplanTestPrep/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/KaplanTestPrep/atom-go","description":"Go library for the Atom API","fork":false,"url":"https://api.github.com/repos/KaplanTestPrep/atom-go","forks_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/forks","keys_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/teams","hooks_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/hooks","issue_events_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/issues/events{/number}","events_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/events","assignees_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/assignees{/user}","branches_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/branches{/branch}","tags_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/tags","blobs_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/statuses/{sha}","languages_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/languages","stargazers_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/stargazers","contributors_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/contributors","subscribers_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/subscribers","subscription_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/subscription","commits_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/contents/{+path}","compare_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/merges","archive_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/downloads","issues_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/issues{/number}","pulls_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/pulls{/number}","milestones_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/milestones{/number}","notifications_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/labels{/name}","releases_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/releases{/id}","deployments_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/deployments","created_at":"2018-09-04T17:48:30Z","updated_at":"2018-10-02T17:21:21Z","pushed_at":"2018-10-05T14:16:33Z","git_url":"git://github.com/KaplanTestPrep/atom-go.git","ssh_url":"git@github.com:KaplanTestPrep/atom-go.git","clone_url":"https://github.com/KaplanTestPrep/atom-go.git","svn_url":"https://github.com/KaplanTestPrep/atom-go","homepage":null,"size":72,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"KaplanTestPrep:master","ref":"master","sha":"af30ee1f0d622dfe805a6fc7e9451023735d2da3","user":{"login":"KaplanTestPrep","id":244622,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NDYyMg==","avatar_url":"https://avatars1.githubusercontent.com/u/244622?v=4","gravatar_id":"","url":"https://api.github.com/users/KaplanTestPrep","html_url":"https://github.com/KaplanTestPrep","followers_url":"https://api.github.com/users/KaplanTestPrep/followers","following_url":"https://api.github.com/users/KaplanTestPrep/following{/other_user}","gists_url":"https://api.github.com/users/KaplanTestPrep/gists{/gist_id}","starred_url":"https://api.github.com/users/KaplanTestPrep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KaplanTestPrep/subscriptions","organizations_url":"https://api.github.com/users/KaplanTestPrep/orgs","repos_url":"https://api.github.com/users/KaplanTestPrep/repos","events_url":"https://api.github.com/users/KaplanTestPrep/events{/privacy}","received_events_url":"https://api.github.com/users/KaplanTestPrep/received_events","type":"Organization","site_admin":false},"repo":{"id":147385483,"node_id":"MDEwOlJlcG9zaXRvcnkxNDczODU0ODM=","name":"atom-go","full_name":"KaplanTestPrep/atom-go","private":false,"owner":{"login":"KaplanTestPrep","id":244622,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NDYyMg==","avatar_url":"https://avatars1.githubusercontent.com/u/244622?v=4","gravatar_id":"","url":"https://api.github.com/users/KaplanTestPrep","html_url":"https://github.com/KaplanTestPrep","followers_url":"https://api.github.com/users/KaplanTestPrep/followers","following_url":"https://api.github.com/users/KaplanTestPrep/following{/other_user}","gists_url":"https://api.github.com/users/KaplanTestPrep/gists{/gist_id}","starred_url":"https://api.github.com/users/KaplanTestPrep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KaplanTestPrep/subscriptions","organizations_url":"https://api.github.com/users/KaplanTestPrep/orgs","repos_url":"https://api.github.com/users/KaplanTestPrep/repos","events_url":"https://api.github.com/users/KaplanTestPrep/events{/privacy}","received_events_url":"https://api.github.com/users/KaplanTestPrep/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/KaplanTestPrep/atom-go","description":"Go library for the Atom API","fork":false,"url":"https://api.github.com/repos/KaplanTestPrep/atom-go","forks_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/forks","keys_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/teams","hooks_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/hooks","issue_events_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/issues/events{/number}","events_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/events","assignees_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/assignees{/user}","branches_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/branches{/branch}","tags_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/tags","blobs_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/statuses/{sha}","languages_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/languages","stargazers_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/stargazers","contributors_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/contributors","subscribers_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/subscribers","subscription_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/subscription","commits_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/contents/{+path}","compare_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/merges","archive_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/downloads","issues_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/issues{/number}","pulls_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/pulls{/number}","milestones_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/milestones{/number}","notifications_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/labels{/name}","releases_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/releases{/id}","deployments_url":"https://api.github.com/repos/KaplanTestPrep/atom-go/deployments","created_at":"2018-09-04T17:48:30Z","updated_at":"2018-10-02T17:21:21Z","pushed_at":"2018-10-05T14:16:33Z","git_url":"git://github.com/KaplanTestPrep/atom-go.git","ssh_url":"git@github.com:KaplanTestPrep/atom-go.git","clone_url":"https://github.com/KaplanTestPrep/atom-go.git","svn_url":"https://github.com/KaplanTestPrep/atom-go","homepage":null,"size":72,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KaplanTestPrep/atom-go/pulls/6"},"html":{"href":"https://github.com/KaplanTestPrep/atom-go/pull/6"},"issue":{"href":"https://api.github.com/repos/KaplanTestPrep/atom-go/issues/6"},"comments":{"href":"https://api.github.com/repos/KaplanTestPrep/atom-go/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/KaplanTestPrep/atom-go/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/KaplanTestPrep/atom-go/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KaplanTestPrep/atom-go/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/KaplanTestPrep/atom-go/statuses/c0b233f0afe82597a11f6600307cd3cb660f9d24"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"RaghavReddy"}}