{"action":"created","comment":{"url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/pulls/comments/176905914","pull_request_review_id":106695409,"id":176905914,"diff_hunk":"@@ -0,0 +1,8 @@\n+package models\n+\n+object UserTypes {\n+  type Name = String\n+  type Password = String\n+}\n+\n+case class User(id: Long, name: String, password: String)","path":"app/models/User.scala","position":8,"original_position":8,"commit_id":"dec5aafd26ed966d2a1c4a5cf27b6024c8f411d8","original_commit_id":"dec5aafd26ed966d2a1c4a5cf27b6024c8f411d8","user":{"login":"PlamenNeshkov","id":8840912,"avatar_url":"https://avatars0.githubusercontent.com/u/8840912?v=4","gravatar_id":"","url":"https://api.github.com/users/PlamenNeshkov","html_url":"https://github.com/PlamenNeshkov","followers_url":"https://api.github.com/users/PlamenNeshkov/followers","following_url":"https://api.github.com/users/PlamenNeshkov/following{/other_user}","gists_url":"https://api.github.com/users/PlamenNeshkov/gists{/gist_id}","starred_url":"https://api.github.com/users/PlamenNeshkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PlamenNeshkov/subscriptions","organizations_url":"https://api.github.com/users/PlamenNeshkov/orgs","repos_url":"https://api.github.com/users/PlamenNeshkov/repos","events_url":"https://api.github.com/users/PlamenNeshkov/events{/privacy}","received_events_url":"https://api.github.com/users/PlamenNeshkov/received_events","type":"User","site_admin":false},"body":"Why not use the types here","created_at":"2018-03-24T10:44:51Z","updated_at":"2018-03-24T10:45:02Z","html_url":"https://github.com/PlamenNeshkov/open-sofia-public-transport/pull/5#discussion_r176905914","pull_request_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/pulls/5","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/pulls/comments/176905914"},"html":{"href":"https://github.com/PlamenNeshkov/open-sofia-public-transport/pull/5#discussion_r176905914"},"pull_request":{"href":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/pulls/5","id":177033283,"html_url":"https://github.com/PlamenNeshkov/open-sofia-public-transport/pull/5","diff_url":"https://github.com/PlamenNeshkov/open-sofia-public-transport/pull/5.diff","patch_url":"https://github.com/PlamenNeshkov/open-sofia-public-transport/pull/5.patch","issue_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/issues/5","number":5,"state":"open","locked":false,"title":"Introduce stronger cohesion in the database layer","user":{"login":"arnaudoff","id":6709097,"avatar_url":"https://avatars2.githubusercontent.com/u/6709097?v=4","gravatar_id":"","url":"https://api.github.com/users/arnaudoff","html_url":"https://github.com/arnaudoff","followers_url":"https://api.github.com/users/arnaudoff/followers","following_url":"https://api.github.com/users/arnaudoff/following{/other_user}","gists_url":"https://api.github.com/users/arnaudoff/gists{/gist_id}","starred_url":"https://api.github.com/users/arnaudoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arnaudoff/subscriptions","organizations_url":"https://api.github.com/users/arnaudoff/orgs","repos_url":"https://api.github.com/users/arnaudoff/repos","events_url":"https://api.github.com/users/arnaudoff/events{/privacy}","received_events_url":"https://api.github.com/users/arnaudoff/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-23T10:48:50Z","updated_at":"2018-03-24T10:45:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ae13cfb9fb6b22eaea5ea6e1887d29dc1c1aa303","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/pulls/5/commits","review_comments_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/pulls/5/comments","review_comment_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/issues/5/comments","statuses_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/statuses/dec5aafd26ed966d2a1c4a5cf27b6024c8f411d8","head":{"label":"PlamenNeshkov:m2m-refactoring","ref":"m2m-refactoring","sha":"dec5aafd26ed966d2a1c4a5cf27b6024c8f411d8","user":{"login":"PlamenNeshkov","id":8840912,"avatar_url":"https://avatars0.githubusercontent.com/u/8840912?v=4","gravatar_id":"","url":"https://api.github.com/users/PlamenNeshkov","html_url":"https://github.com/PlamenNeshkov","followers_url":"https://api.github.com/users/PlamenNeshkov/followers","following_url":"https://api.github.com/users/PlamenNeshkov/following{/other_user}","gists_url":"https://api.github.com/users/PlamenNeshkov/gists{/gist_id}","starred_url":"https://api.github.com/users/PlamenNeshkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PlamenNeshkov/subscriptions","organizations_url":"https://api.github.com/users/PlamenNeshkov/orgs","repos_url":"https://api.github.com/users/PlamenNeshkov/repos","events_url":"https://api.github.com/users/PlamenNeshkov/events{/privacy}","received_events_url":"https://api.github.com/users/PlamenNeshkov/received_events","type":"User","site_admin":false},"repo":{"id":121859149,"name":"open-sofia-public-transport","full_name":"PlamenNeshkov/open-sofia-public-transport","owner":{"login":"PlamenNeshkov","id":8840912,"avatar_url":"https://avatars0.githubusercontent.com/u/8840912?v=4","gravatar_id":"","url":"https://api.github.com/users/PlamenNeshkov","html_url":"https://github.com/PlamenNeshkov","followers_url":"https://api.github.com/users/PlamenNeshkov/followers","following_url":"https://api.github.com/users/PlamenNeshkov/following{/other_user}","gists_url":"https://api.github.com/users/PlamenNeshkov/gists{/gist_id}","starred_url":"https://api.github.com/users/PlamenNeshkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PlamenNeshkov/subscriptions","organizations_url":"https://api.github.com/users/PlamenNeshkov/orgs","repos_url":"https://api.github.com/users/PlamenNeshkov/repos","events_url":"https://api.github.com/users/PlamenNeshkov/events{/privacy}","received_events_url":"https://api.github.com/users/PlamenNeshkov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PlamenNeshkov/open-sofia-public-transport","description":"Scala project that tries to make available data for Sofia's public transport more transparent and easy to use.","fork":false,"url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport","forks_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/forks","keys_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/teams","hooks_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/hooks","issue_events_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/issues/events{/number}","events_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/events","assignees_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/assignees{/user}","branches_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/branches{/branch}","tags_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/tags","blobs_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/git/refs{/sha}","trees_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/statuses/{sha}","languages_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/languages","stargazers_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/stargazers","contributors_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/contributors","subscribers_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/subscribers","subscription_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/subscription","commits_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/commits{/sha}","git_commits_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/git/commits{/sha}","comments_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/comments{/number}","issue_comment_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/issues/comments{/number}","contents_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/contents/{+path}","compare_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/merges","archive_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/downloads","issues_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/issues{/number}","pulls_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/pulls{/number}","milestones_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/milestones{/number}","notifications_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/labels{/name}","releases_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/releases{/id}","deployments_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/deployments","created_at":"2018-02-17T13:51:31Z","updated_at":"2018-03-19T20:36:38Z","pushed_at":"2018-03-23T10:48:51Z","git_url":"git://github.com/PlamenNeshkov/open-sofia-public-transport.git","ssh_url":"git@github.com:PlamenNeshkov/open-sofia-public-transport.git","clone_url":"https://github.com/PlamenNeshkov/open-sofia-public-transport.git","svn_url":"https://github.com/PlamenNeshkov/open-sofia-public-transport","homepage":"","size":141,"stargazers_count":2,"watchers_count":2,"language":"Scala","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":1,"open_issues":1,"watchers":2,"default_branch":"develop"}},"base":{"label":"PlamenNeshkov:develop","ref":"develop","sha":"78fccdc40e39b1eb8b3334b31dfbf595938b96e1","user":{"login":"PlamenNeshkov","id":8840912,"avatar_url":"https://avatars0.githubusercontent.com/u/8840912?v=4","gravatar_id":"","url":"https://api.github.com/users/PlamenNeshkov","html_url":"https://github.com/PlamenNeshkov","followers_url":"https://api.github.com/users/PlamenNeshkov/followers","following_url":"https://api.github.com/users/PlamenNeshkov/following{/other_user}","gists_url":"https://api.github.com/users/PlamenNeshkov/gists{/gist_id}","starred_url":"https://api.github.com/users/PlamenNeshkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PlamenNeshkov/subscriptions","organizations_url":"https://api.github.com/users/PlamenNeshkov/orgs","repos_url":"https://api.github.com/users/PlamenNeshkov/repos","events_url":"https://api.github.com/users/PlamenNeshkov/events{/privacy}","received_events_url":"https://api.github.com/users/PlamenNeshkov/received_events","type":"User","site_admin":false},"repo":{"id":121859149,"name":"open-sofia-public-transport","full_name":"PlamenNeshkov/open-sofia-public-transport","owner":{"login":"PlamenNeshkov","id":8840912,"avatar_url":"https://avatars0.githubusercontent.com/u/8840912?v=4","gravatar_id":"","url":"https://api.github.com/users/PlamenNeshkov","html_url":"https://github.com/PlamenNeshkov","followers_url":"https://api.github.com/users/PlamenNeshkov/followers","following_url":"https://api.github.com/users/PlamenNeshkov/following{/other_user}","gists_url":"https://api.github.com/users/PlamenNeshkov/gists{/gist_id}","starred_url":"https://api.github.com/users/PlamenNeshkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PlamenNeshkov/subscriptions","organizations_url":"https://api.github.com/users/PlamenNeshkov/orgs","repos_url":"https://api.github.com/users/PlamenNeshkov/repos","events_url":"https://api.github.com/users/PlamenNeshkov/events{/privacy}","received_events_url":"https://api.github.com/users/PlamenNeshkov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PlamenNeshkov/open-sofia-public-transport","description":"Scala project that tries to make available data for Sofia's public transport more transparent and easy to use.","fork":false,"url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport","forks_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/forks","keys_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/teams","hooks_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/hooks","issue_events_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/issues/events{/number}","events_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/events","assignees_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/assignees{/user}","branches_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/branches{/branch}","tags_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/tags","blobs_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/git/refs{/sha}","trees_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/statuses/{sha}","languages_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/languages","stargazers_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/stargazers","contributors_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/contributors","subscribers_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/subscribers","subscription_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/subscription","commits_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/commits{/sha}","git_commits_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/git/commits{/sha}","comments_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/comments{/number}","issue_comment_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/issues/comments{/number}","contents_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/contents/{+path}","compare_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/merges","archive_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/downloads","issues_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/issues{/number}","pulls_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/pulls{/number}","milestones_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/milestones{/number}","notifications_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/labels{/name}","releases_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/releases{/id}","deployments_url":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/deployments","created_at":"2018-02-17T13:51:31Z","updated_at":"2018-03-19T20:36:38Z","pushed_at":"2018-03-23T10:48:51Z","git_url":"git://github.com/PlamenNeshkov/open-sofia-public-transport.git","ssh_url":"git@github.com:PlamenNeshkov/open-sofia-public-transport.git","clone_url":"https://github.com/PlamenNeshkov/open-sofia-public-transport.git","svn_url":"https://github.com/PlamenNeshkov/open-sofia-public-transport","homepage":"","size":141,"stargazers_count":2,"watchers_count":2,"language":"Scala","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":1,"open_issues":1,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/pulls/5"},"html":{"href":"https://github.com/PlamenNeshkov/open-sofia-public-transport/pull/5"},"issue":{"href":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/issues/5"},"comments":{"href":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/PlamenNeshkov/open-sofia-public-transport/statuses/dec5aafd26ed966d2a1c4a5cf27b6024c8f411d8"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"PlamenNeshkov"}}