{"action":"created","comment":{"url":"https://api.github.com/repos/idiot-trade/backend/pulls/comments/205737973","pull_request_review_id":141068862,"id":205737973,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNTczNzk3Mw==","diff_hunk":"@@ -1,2 +1,19 @@\n defmodule RDB.Fixtures do\n+  alias RDB.{Repo, User}\n+\n+  @type resource :: :user\n+\n+  @spec fixture(resource, Keyword.t()) :: struct | no_return\n+  def fixture(resource, attrs \\\\ [])\n+\n+  def fixture(:user, attrs) do\n+    Repo.insert!(%User{\n+      name: attrs[:name] || \"TODO\",\n+      handle: attrs[:handle] || \"TODO\",","path":"apps/rdb/test/support/fixtures.ex","position":12,"original_position":12,"commit_id":"56a6bcab36dcde9890823dba235da89b56540c11","original_commit_id":"56a6bcab36dcde9890823dba235da89b56540c11","user":{"login":"ebert[bot]","id":23344435,"node_id":"MDM6Qm90MjMzNDQ0MzU=","avatar_url":"https://avatars3.githubusercontent.com/in/597?v=4","gravatar_id":"","url":"https://api.github.com/users/ebert%5Bbot%5D","html_url":"https://github.com/apps/ebert","followers_url":"https://api.github.com/users/ebert%5Bbot%5D/followers","following_url":"https://api.github.com/users/ebert%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/ebert%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/ebert%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebert%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/ebert%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/ebert%5Bbot%5D/repos","events_url":"https://api.github.com/users/ebert%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/ebert%5Bbot%5D/received_events","type":"Bot","site_admin":false},"body":"TODO found","created_at":"2018-07-27T10:57:02Z","updated_at":"2018-07-27T10:57:02Z","html_url":"https://github.com/idiot-trade/backend/pull/5#discussion_r205737973","pull_request_url":"https://api.github.com/repos/idiot-trade/backend/pulls/5","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/idiot-trade/backend/pulls/comments/205737973"},"html":{"href":"https://github.com/idiot-trade/backend/pull/5#discussion_r205737973"},"pull_request":{"href":"https://api.github.com/repos/idiot-trade/backend/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/idiot-trade/backend/pulls/5","id":204364752,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0MzY0NzUy","html_url":"https://github.com/idiot-trade/backend/pull/5","diff_url":"https://github.com/idiot-trade/backend/pull/5.diff","patch_url":"https://github.com/idiot-trade/backend/pull/5.patch","issue_url":"https://api.github.com/repos/idiot-trade/backend/issues/5","number":5,"state":"open","locked":false,"title":"add graphql","user":{"login":"kluufger","id":35971588,"node_id":"MDQ6VXNlcjM1OTcxNTg4","avatar_url":"https://avatars0.githubusercontent.com/u/35971588?v=4","gravatar_id":"","url":"https://api.github.com/users/kluufger","html_url":"https://github.com/kluufger","followers_url":"https://api.github.com/users/kluufger/followers","following_url":"https://api.github.com/users/kluufger/following{/other_user}","gists_url":"https://api.github.com/users/kluufger/gists{/gist_id}","starred_url":"https://api.github.com/users/kluufger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kluufger/subscriptions","organizations_url":"https://api.github.com/users/kluufger/orgs","repos_url":"https://api.github.com/users/kluufger/repos","events_url":"https://api.github.com/users/kluufger/events{/privacy}","received_events_url":"https://api.github.com/users/kluufger/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-27T08:34:36Z","updated_at":"2018-07-27T10:57:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0f3ef33fb304833f2a679e904ae19f4f9c0169b2","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/idiot-trade/backend/pulls/5/commits","review_comments_url":"https://api.github.com/repos/idiot-trade/backend/pulls/5/comments","review_comment_url":"https://api.github.com/repos/idiot-trade/backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/idiot-trade/backend/issues/5/comments","statuses_url":"https://api.github.com/repos/idiot-trade/backend/statuses/56a6bcab36dcde9890823dba235da89b56540c11","head":{"label":"idiot-trade:add-graphql","ref":"add-graphql","sha":"56a6bcab36dcde9890823dba235da89b56540c11","user":{"login":"idiot-trade","id":36455405,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2NDU1NDA1","avatar_url":"https://avatars1.githubusercontent.com/u/36455405?v=4","gravatar_id":"","url":"https://api.github.com/users/idiot-trade","html_url":"https://github.com/idiot-trade","followers_url":"https://api.github.com/users/idiot-trade/followers","following_url":"https://api.github.com/users/idiot-trade/following{/other_user}","gists_url":"https://api.github.com/users/idiot-trade/gists{/gist_id}","starred_url":"https://api.github.com/users/idiot-trade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idiot-trade/subscriptions","organizations_url":"https://api.github.com/users/idiot-trade/orgs","repos_url":"https://api.github.com/users/idiot-trade/repos","events_url":"https://api.github.com/users/idiot-trade/events{/privacy}","received_events_url":"https://api.github.com/users/idiot-trade/received_events","type":"Organization","site_admin":false},"repo":{"id":121424237,"node_id":"MDEwOlJlcG9zaXRvcnkxMjE0MjQyMzc=","name":"backend","full_name":"idiot-trade/backend","owner":{"login":"idiot-trade","id":36455405,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2NDU1NDA1","avatar_url":"https://avatars1.githubusercontent.com/u/36455405?v=4","gravatar_id":"","url":"https://api.github.com/users/idiot-trade","html_url":"https://github.com/idiot-trade","followers_url":"https://api.github.com/users/idiot-trade/followers","following_url":"https://api.github.com/users/idiot-trade/following{/other_user}","gists_url":"https://api.github.com/users/idiot-trade/gists{/gist_id}","starred_url":"https://api.github.com/users/idiot-trade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idiot-trade/subscriptions","organizations_url":"https://api.github.com/users/idiot-trade/orgs","repos_url":"https://api.github.com/users/idiot-trade/repos","events_url":"https://api.github.com/users/idiot-trade/events{/privacy}","received_events_url":"https://api.github.com/users/idiot-trade/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/idiot-trade/backend","description":null,"fork":false,"url":"https://api.github.com/repos/idiot-trade/backend","forks_url":"https://api.github.com/repos/idiot-trade/backend/forks","keys_url":"https://api.github.com/repos/idiot-trade/backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/idiot-trade/backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/idiot-trade/backend/teams","hooks_url":"https://api.github.com/repos/idiot-trade/backend/hooks","issue_events_url":"https://api.github.com/repos/idiot-trade/backend/issues/events{/number}","events_url":"https://api.github.com/repos/idiot-trade/backend/events","assignees_url":"https://api.github.com/repos/idiot-trade/backend/assignees{/user}","branches_url":"https://api.github.com/repos/idiot-trade/backend/branches{/branch}","tags_url":"https://api.github.com/repos/idiot-trade/backend/tags","blobs_url":"https://api.github.com/repos/idiot-trade/backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/idiot-trade/backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/idiot-trade/backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/idiot-trade/backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/idiot-trade/backend/statuses/{sha}","languages_url":"https://api.github.com/repos/idiot-trade/backend/languages","stargazers_url":"https://api.github.com/repos/idiot-trade/backend/stargazers","contributors_url":"https://api.github.com/repos/idiot-trade/backend/contributors","subscribers_url":"https://api.github.com/repos/idiot-trade/backend/subscribers","subscription_url":"https://api.github.com/repos/idiot-trade/backend/subscription","commits_url":"https://api.github.com/repos/idiot-trade/backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/idiot-trade/backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/idiot-trade/backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/idiot-trade/backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/idiot-trade/backend/contents/{+path}","compare_url":"https://api.github.com/repos/idiot-trade/backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/idiot-trade/backend/merges","archive_url":"https://api.github.com/repos/idiot-trade/backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/idiot-trade/backend/downloads","issues_url":"https://api.github.com/repos/idiot-trade/backend/issues{/number}","pulls_url":"https://api.github.com/repos/idiot-trade/backend/pulls{/number}","milestones_url":"https://api.github.com/repos/idiot-trade/backend/milestones{/number}","notifications_url":"https://api.github.com/repos/idiot-trade/backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/idiot-trade/backend/labels{/name}","releases_url":"https://api.github.com/repos/idiot-trade/backend/releases{/id}","deployments_url":"https://api.github.com/repos/idiot-trade/backend/deployments","created_at":"2018-02-13T19:08:36Z","updated_at":"2018-07-27T06:45:30Z","pushed_at":"2018-07-27T10:56:34Z","git_url":"git://github.com/idiot-trade/backend.git","ssh_url":"git@github.com:idiot-trade/backend.git","clone_url":"https://github.com/idiot-trade/backend.git","svn_url":"https://github.com/idiot-trade/backend","homepage":null,"size":92,"stargazers_count":0,"watchers_count":0,"language":"Elixir","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":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"idiot-trade:master","ref":"master","sha":"4089a5dc1090f34a9d98f1857721c6d1a014aef3","user":{"login":"idiot-trade","id":36455405,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2NDU1NDA1","avatar_url":"https://avatars1.githubusercontent.com/u/36455405?v=4","gravatar_id":"","url":"https://api.github.com/users/idiot-trade","html_url":"https://github.com/idiot-trade","followers_url":"https://api.github.com/users/idiot-trade/followers","following_url":"https://api.github.com/users/idiot-trade/following{/other_user}","gists_url":"https://api.github.com/users/idiot-trade/gists{/gist_id}","starred_url":"https://api.github.com/users/idiot-trade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idiot-trade/subscriptions","organizations_url":"https://api.github.com/users/idiot-trade/orgs","repos_url":"https://api.github.com/users/idiot-trade/repos","events_url":"https://api.github.com/users/idiot-trade/events{/privacy}","received_events_url":"https://api.github.com/users/idiot-trade/received_events","type":"Organization","site_admin":false},"repo":{"id":121424237,"node_id":"MDEwOlJlcG9zaXRvcnkxMjE0MjQyMzc=","name":"backend","full_name":"idiot-trade/backend","owner":{"login":"idiot-trade","id":36455405,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2NDU1NDA1","avatar_url":"https://avatars1.githubusercontent.com/u/36455405?v=4","gravatar_id":"","url":"https://api.github.com/users/idiot-trade","html_url":"https://github.com/idiot-trade","followers_url":"https://api.github.com/users/idiot-trade/followers","following_url":"https://api.github.com/users/idiot-trade/following{/other_user}","gists_url":"https://api.github.com/users/idiot-trade/gists{/gist_id}","starred_url":"https://api.github.com/users/idiot-trade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idiot-trade/subscriptions","organizations_url":"https://api.github.com/users/idiot-trade/orgs","repos_url":"https://api.github.com/users/idiot-trade/repos","events_url":"https://api.github.com/users/idiot-trade/events{/privacy}","received_events_url":"https://api.github.com/users/idiot-trade/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/idiot-trade/backend","description":null,"fork":false,"url":"https://api.github.com/repos/idiot-trade/backend","forks_url":"https://api.github.com/repos/idiot-trade/backend/forks","keys_url":"https://api.github.com/repos/idiot-trade/backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/idiot-trade/backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/idiot-trade/backend/teams","hooks_url":"https://api.github.com/repos/idiot-trade/backend/hooks","issue_events_url":"https://api.github.com/repos/idiot-trade/backend/issues/events{/number}","events_url":"https://api.github.com/repos/idiot-trade/backend/events","assignees_url":"https://api.github.com/repos/idiot-trade/backend/assignees{/user}","branches_url":"https://api.github.com/repos/idiot-trade/backend/branches{/branch}","tags_url":"https://api.github.com/repos/idiot-trade/backend/tags","blobs_url":"https://api.github.com/repos/idiot-trade/backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/idiot-trade/backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/idiot-trade/backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/idiot-trade/backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/idiot-trade/backend/statuses/{sha}","languages_url":"https://api.github.com/repos/idiot-trade/backend/languages","stargazers_url":"https://api.github.com/repos/idiot-trade/backend/stargazers","contributors_url":"https://api.github.com/repos/idiot-trade/backend/contributors","subscribers_url":"https://api.github.com/repos/idiot-trade/backend/subscribers","subscription_url":"https://api.github.com/repos/idiot-trade/backend/subscription","commits_url":"https://api.github.com/repos/idiot-trade/backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/idiot-trade/backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/idiot-trade/backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/idiot-trade/backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/idiot-trade/backend/contents/{+path}","compare_url":"https://api.github.com/repos/idiot-trade/backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/idiot-trade/backend/merges","archive_url":"https://api.github.com/repos/idiot-trade/backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/idiot-trade/backend/downloads","issues_url":"https://api.github.com/repos/idiot-trade/backend/issues{/number}","pulls_url":"https://api.github.com/repos/idiot-trade/backend/pulls{/number}","milestones_url":"https://api.github.com/repos/idiot-trade/backend/milestones{/number}","notifications_url":"https://api.github.com/repos/idiot-trade/backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/idiot-trade/backend/labels{/name}","releases_url":"https://api.github.com/repos/idiot-trade/backend/releases{/id}","deployments_url":"https://api.github.com/repos/idiot-trade/backend/deployments","created_at":"2018-02-13T19:08:36Z","updated_at":"2018-07-27T06:45:30Z","pushed_at":"2018-07-27T10:56:34Z","git_url":"git://github.com/idiot-trade/backend.git","ssh_url":"git@github.com:idiot-trade/backend.git","clone_url":"https://github.com/idiot-trade/backend.git","svn_url":"https://github.com/idiot-trade/backend","homepage":null,"size":92,"stargazers_count":0,"watchers_count":0,"language":"Elixir","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":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/idiot-trade/backend/pulls/5"},"html":{"href":"https://github.com/idiot-trade/backend/pull/5"},"issue":{"href":"https://api.github.com/repos/idiot-trade/backend/issues/5"},"comments":{"href":"https://api.github.com/repos/idiot-trade/backend/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/idiot-trade/backend/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/idiot-trade/backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/idiot-trade/backend/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/idiot-trade/backend/statuses/56a6bcab36dcde9890823dba235da89b56540c11"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"ebert"}}