{"action":"created","comment":{"url":"https://api.github.com/repos/droideveloper/Weather/pulls/comments/234439044","pull_request_review_id":176084624,"id":234439044,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNDQzOTA0NA==","diff_hunk":"@@ -0,0 +1,80 @@\n+//\n+//  Module.swift\n+//  Weather\n+//\n+//  Created by Fatih Şen on 18.11.2018.\n+//  Copyright © 2018 VNGRS. All rights reserved.\n+//\n+\n+import Foundation\n+import MVICocoa\n+import Swinject\n+import SwinjectStoryboard\n+\n+class Module {\n+\t\n+\tlazy var container = {\n+\t\tContainer()\n+\t}()\n+\t\n+\tinit() {\n+\t\t// File Repository injection\n+\t\tcontainer.register(FileRepository.self) { _ in\n+\t\t\treturn FileRepositoryImp()\n+\t\t}.inObjectScope(.container)\n+\t\t\n+\t\t// Connectivity Repository injection\n+\t\tcontainer.register(ConnectityRepository.self) { _ in\n+\t\t\treturn ConnectityRepositoryImp()\n+\t  }.inObjectScope(.container)\n+\t\t\n+\t\t// User Defaults Repository injection\n+\t\tcontainer.register(UserDefaultsRepository.self) { resolver in\n+\t\t\tif let fileRepository = resolver.resolve(FileRepository.self) {","path":"Weather/Core/Module.swift","position":33,"original_position":33,"commit_id":"e1874cc398ddf9b2499fcdec773fae238ac5cb17","original_commit_id":"e1874cc398ddf9b2499fcdec773fae238ac5cb17","user":{"login":"droideveloper","id":8026075,"node_id":"MDQ6VXNlcjgwMjYwNzU=","avatar_url":"https://avatars3.githubusercontent.com/u/8026075?v=4","gravatar_id":"","url":"https://api.github.com/users/droideveloper","html_url":"https://github.com/droideveloper","followers_url":"https://api.github.com/users/droideveloper/followers","following_url":"https://api.github.com/users/droideveloper/following{/other_user}","gists_url":"https://api.github.com/users/droideveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/droideveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/droideveloper/subscriptions","organizations_url":"https://api.github.com/users/droideveloper/orgs","repos_url":"https://api.github.com/users/droideveloper/repos","events_url":"https://api.github.com/users/droideveloper/events{/privacy}","received_events_url":"https://api.github.com/users/droideveloper/received_events","type":"User","site_admin":false},"body":"```guard let fileRepository = resolver.resolve(FileRepository.self) else {\r\n        fatalError(\"we can not resolve \\(FileRepository.self)\")\r\n     }\r\n     return UserDefaultsRepository(fileRepository: fileRepository)```\r\nthis looks ugly to me 🗡 ","created_at":"2018-11-18T11:03:47Z","updated_at":"2018-11-18T11:03:48Z","html_url":"https://github.com/droideveloper/Weather/pull/36#discussion_r234439044","pull_request_url":"https://api.github.com/repos/droideveloper/Weather/pulls/36","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/droideveloper/Weather/pulls/comments/234439044"},"html":{"href":"https://github.com/droideveloper/Weather/pull/36#discussion_r234439044"},"pull_request":{"href":"https://api.github.com/repos/droideveloper/Weather/pulls/36"}},"in_reply_to_id":234437213},"pull_request":{"url":"https://api.github.com/repos/droideveloper/Weather/pulls/36","id":231778202,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxNzc4MjAy","html_url":"https://github.com/droideveloper/Weather/pull/36","diff_url":"https://github.com/droideveloper/Weather/pull/36.diff","patch_url":"https://github.com/droideveloper/Weather/pull/36.patch","issue_url":"https://api.github.com/repos/droideveloper/Weather/issues/36","number":36,"state":"open","locked":false,"title":"updated di for now","user":{"login":"droideveloper","id":8026075,"node_id":"MDQ6VXNlcjgwMjYwNzU=","avatar_url":"https://avatars3.githubusercontent.com/u/8026075?v=4","gravatar_id":"","url":"https://api.github.com/users/droideveloper","html_url":"https://github.com/droideveloper","followers_url":"https://api.github.com/users/droideveloper/followers","following_url":"https://api.github.com/users/droideveloper/following{/other_user}","gists_url":"https://api.github.com/users/droideveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/droideveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/droideveloper/subscriptions","organizations_url":"https://api.github.com/users/droideveloper/orgs","repos_url":"https://api.github.com/users/droideveloper/repos","events_url":"https://api.github.com/users/droideveloper/events{/privacy}","received_events_url":"https://api.github.com/users/droideveloper/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-18T09:39:16Z","updated_at":"2018-11-18T11:03:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"61050ccf59d47dc10cce1e1ba1c7d773c52c14e9","assignee":{"login":"olgusirman","id":6256774,"node_id":"MDQ6VXNlcjYyNTY3NzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/6256774?v=4","gravatar_id":"","url":"https://api.github.com/users/olgusirman","html_url":"https://github.com/olgusirman","followers_url":"https://api.github.com/users/olgusirman/followers","following_url":"https://api.github.com/users/olgusirman/following{/other_user}","gists_url":"https://api.github.com/users/olgusirman/gists{/gist_id}","starred_url":"https://api.github.com/users/olgusirman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olgusirman/subscriptions","organizations_url":"https://api.github.com/users/olgusirman/orgs","repos_url":"https://api.github.com/users/olgusirman/repos","events_url":"https://api.github.com/users/olgusirman/events{/privacy}","received_events_url":"https://api.github.com/users/olgusirman/received_events","type":"User","site_admin":false},"assignees":[{"login":"olgusirman","id":6256774,"node_id":"MDQ6VXNlcjYyNTY3NzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/6256774?v=4","gravatar_id":"","url":"https://api.github.com/users/olgusirman","html_url":"https://github.com/olgusirman","followers_url":"https://api.github.com/users/olgusirman/followers","following_url":"https://api.github.com/users/olgusirman/following{/other_user}","gists_url":"https://api.github.com/users/olgusirman/gists{/gist_id}","starred_url":"https://api.github.com/users/olgusirman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olgusirman/subscriptions","organizations_url":"https://api.github.com/users/olgusirman/orgs","repos_url":"https://api.github.com/users/olgusirman/repos","events_url":"https://api.github.com/users/olgusirman/events{/privacy}","received_events_url":"https://api.github.com/users/olgusirman/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/droideveloper/Weather/pulls/36/commits","review_comments_url":"https://api.github.com/repos/droideveloper/Weather/pulls/36/comments","review_comment_url":"https://api.github.com/repos/droideveloper/Weather/pulls/comments{/number}","comments_url":"https://api.github.com/repos/droideveloper/Weather/issues/36/comments","statuses_url":"https://api.github.com/repos/droideveloper/Weather/statuses/e1874cc398ddf9b2499fcdec773fae238ac5cb17","head":{"label":"droideveloper:update_di","ref":"update_di","sha":"e1874cc398ddf9b2499fcdec773fae238ac5cb17","user":{"login":"droideveloper","id":8026075,"node_id":"MDQ6VXNlcjgwMjYwNzU=","avatar_url":"https://avatars3.githubusercontent.com/u/8026075?v=4","gravatar_id":"","url":"https://api.github.com/users/droideveloper","html_url":"https://github.com/droideveloper","followers_url":"https://api.github.com/users/droideveloper/followers","following_url":"https://api.github.com/users/droideveloper/following{/other_user}","gists_url":"https://api.github.com/users/droideveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/droideveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/droideveloper/subscriptions","organizations_url":"https://api.github.com/users/droideveloper/orgs","repos_url":"https://api.github.com/users/droideveloper/repos","events_url":"https://api.github.com/users/droideveloper/events{/privacy}","received_events_url":"https://api.github.com/users/droideveloper/received_events","type":"User","site_admin":false},"repo":{"id":152418442,"node_id":"MDEwOlJlcG9zaXRvcnkxNTI0MTg0NDI=","name":"Weather","full_name":"droideveloper/Weather","private":false,"owner":{"login":"droideveloper","id":8026075,"node_id":"MDQ6VXNlcjgwMjYwNzU=","avatar_url":"https://avatars3.githubusercontent.com/u/8026075?v=4","gravatar_id":"","url":"https://api.github.com/users/droideveloper","html_url":"https://github.com/droideveloper","followers_url":"https://api.github.com/users/droideveloper/followers","following_url":"https://api.github.com/users/droideveloper/following{/other_user}","gists_url":"https://api.github.com/users/droideveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/droideveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/droideveloper/subscriptions","organizations_url":"https://api.github.com/users/droideveloper/orgs","repos_url":"https://api.github.com/users/droideveloper/repos","events_url":"https://api.github.com/users/droideveloper/events{/privacy}","received_events_url":"https://api.github.com/users/droideveloper/received_events","type":"User","site_admin":false},"html_url":"https://github.com/droideveloper/Weather","description":null,"fork":false,"url":"https://api.github.com/repos/droideveloper/Weather","forks_url":"https://api.github.com/repos/droideveloper/Weather/forks","keys_url":"https://api.github.com/repos/droideveloper/Weather/keys{/key_id}","collaborators_url":"https://api.github.com/repos/droideveloper/Weather/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/droideveloper/Weather/teams","hooks_url":"https://api.github.com/repos/droideveloper/Weather/hooks","issue_events_url":"https://api.github.com/repos/droideveloper/Weather/issues/events{/number}","events_url":"https://api.github.com/repos/droideveloper/Weather/events","assignees_url":"https://api.github.com/repos/droideveloper/Weather/assignees{/user}","branches_url":"https://api.github.com/repos/droideveloper/Weather/branches{/branch}","tags_url":"https://api.github.com/repos/droideveloper/Weather/tags","blobs_url":"https://api.github.com/repos/droideveloper/Weather/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/droideveloper/Weather/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/droideveloper/Weather/git/refs{/sha}","trees_url":"https://api.github.com/repos/droideveloper/Weather/git/trees{/sha}","statuses_url":"https://api.github.com/repos/droideveloper/Weather/statuses/{sha}","languages_url":"https://api.github.com/repos/droideveloper/Weather/languages","stargazers_url":"https://api.github.com/repos/droideveloper/Weather/stargazers","contributors_url":"https://api.github.com/repos/droideveloper/Weather/contributors","subscribers_url":"https://api.github.com/repos/droideveloper/Weather/subscribers","subscription_url":"https://api.github.com/repos/droideveloper/Weather/subscription","commits_url":"https://api.github.com/repos/droideveloper/Weather/commits{/sha}","git_commits_url":"https://api.github.com/repos/droideveloper/Weather/git/commits{/sha}","comments_url":"https://api.github.com/repos/droideveloper/Weather/comments{/number}","issue_comment_url":"https://api.github.com/repos/droideveloper/Weather/issues/comments{/number}","contents_url":"https://api.github.com/repos/droideveloper/Weather/contents/{+path}","compare_url":"https://api.github.com/repos/droideveloper/Weather/compare/{base}...{head}","merges_url":"https://api.github.com/repos/droideveloper/Weather/merges","archive_url":"https://api.github.com/repos/droideveloper/Weather/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/droideveloper/Weather/downloads","issues_url":"https://api.github.com/repos/droideveloper/Weather/issues{/number}","pulls_url":"https://api.github.com/repos/droideveloper/Weather/pulls{/number}","milestones_url":"https://api.github.com/repos/droideveloper/Weather/milestones{/number}","notifications_url":"https://api.github.com/repos/droideveloper/Weather/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/droideveloper/Weather/labels{/name}","releases_url":"https://api.github.com/repos/droideveloper/Weather/releases{/id}","deployments_url":"https://api.github.com/repos/droideveloper/Weather/deployments","created_at":"2018-10-10T12:16:38Z","updated_at":"2018-11-13T18:54:51Z","pushed_at":"2018-11-18T09:39:16Z","git_url":"git://github.com/droideveloper/Weather.git","ssh_url":"git@github.com:droideveloper/Weather.git","clone_url":"https://github.com/droideveloper/Weather.git","svn_url":"https://github.com/droideveloper/Weather","homepage":null,"size":7878,"stargazers_count":0,"watchers_count":0,"language":"Swift","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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"droideveloper:master","ref":"master","sha":"8fa7360a3755131b378ac345b79b63f31c800e48","user":{"login":"droideveloper","id":8026075,"node_id":"MDQ6VXNlcjgwMjYwNzU=","avatar_url":"https://avatars3.githubusercontent.com/u/8026075?v=4","gravatar_id":"","url":"https://api.github.com/users/droideveloper","html_url":"https://github.com/droideveloper","followers_url":"https://api.github.com/users/droideveloper/followers","following_url":"https://api.github.com/users/droideveloper/following{/other_user}","gists_url":"https://api.github.com/users/droideveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/droideveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/droideveloper/subscriptions","organizations_url":"https://api.github.com/users/droideveloper/orgs","repos_url":"https://api.github.com/users/droideveloper/repos","events_url":"https://api.github.com/users/droideveloper/events{/privacy}","received_events_url":"https://api.github.com/users/droideveloper/received_events","type":"User","site_admin":false},"repo":{"id":152418442,"node_id":"MDEwOlJlcG9zaXRvcnkxNTI0MTg0NDI=","name":"Weather","full_name":"droideveloper/Weather","private":false,"owner":{"login":"droideveloper","id":8026075,"node_id":"MDQ6VXNlcjgwMjYwNzU=","avatar_url":"https://avatars3.githubusercontent.com/u/8026075?v=4","gravatar_id":"","url":"https://api.github.com/users/droideveloper","html_url":"https://github.com/droideveloper","followers_url":"https://api.github.com/users/droideveloper/followers","following_url":"https://api.github.com/users/droideveloper/following{/other_user}","gists_url":"https://api.github.com/users/droideveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/droideveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/droideveloper/subscriptions","organizations_url":"https://api.github.com/users/droideveloper/orgs","repos_url":"https://api.github.com/users/droideveloper/repos","events_url":"https://api.github.com/users/droideveloper/events{/privacy}","received_events_url":"https://api.github.com/users/droideveloper/received_events","type":"User","site_admin":false},"html_url":"https://github.com/droideveloper/Weather","description":null,"fork":false,"url":"https://api.github.com/repos/droideveloper/Weather","forks_url":"https://api.github.com/repos/droideveloper/Weather/forks","keys_url":"https://api.github.com/repos/droideveloper/Weather/keys{/key_id}","collaborators_url":"https://api.github.com/repos/droideveloper/Weather/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/droideveloper/Weather/teams","hooks_url":"https://api.github.com/repos/droideveloper/Weather/hooks","issue_events_url":"https://api.github.com/repos/droideveloper/Weather/issues/events{/number}","events_url":"https://api.github.com/repos/droideveloper/Weather/events","assignees_url":"https://api.github.com/repos/droideveloper/Weather/assignees{/user}","branches_url":"https://api.github.com/repos/droideveloper/Weather/branches{/branch}","tags_url":"https://api.github.com/repos/droideveloper/Weather/tags","blobs_url":"https://api.github.com/repos/droideveloper/Weather/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/droideveloper/Weather/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/droideveloper/Weather/git/refs{/sha}","trees_url":"https://api.github.com/repos/droideveloper/Weather/git/trees{/sha}","statuses_url":"https://api.github.com/repos/droideveloper/Weather/statuses/{sha}","languages_url":"https://api.github.com/repos/droideveloper/Weather/languages","stargazers_url":"https://api.github.com/repos/droideveloper/Weather/stargazers","contributors_url":"https://api.github.com/repos/droideveloper/Weather/contributors","subscribers_url":"https://api.github.com/repos/droideveloper/Weather/subscribers","subscription_url":"https://api.github.com/repos/droideveloper/Weather/subscription","commits_url":"https://api.github.com/repos/droideveloper/Weather/commits{/sha}","git_commits_url":"https://api.github.com/repos/droideveloper/Weather/git/commits{/sha}","comments_url":"https://api.github.com/repos/droideveloper/Weather/comments{/number}","issue_comment_url":"https://api.github.com/repos/droideveloper/Weather/issues/comments{/number}","contents_url":"https://api.github.com/repos/droideveloper/Weather/contents/{+path}","compare_url":"https://api.github.com/repos/droideveloper/Weather/compare/{base}...{head}","merges_url":"https://api.github.com/repos/droideveloper/Weather/merges","archive_url":"https://api.github.com/repos/droideveloper/Weather/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/droideveloper/Weather/downloads","issues_url":"https://api.github.com/repos/droideveloper/Weather/issues{/number}","pulls_url":"https://api.github.com/repos/droideveloper/Weather/pulls{/number}","milestones_url":"https://api.github.com/repos/droideveloper/Weather/milestones{/number}","notifications_url":"https://api.github.com/repos/droideveloper/Weather/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/droideveloper/Weather/labels{/name}","releases_url":"https://api.github.com/repos/droideveloper/Weather/releases{/id}","deployments_url":"https://api.github.com/repos/droideveloper/Weather/deployments","created_at":"2018-10-10T12:16:38Z","updated_at":"2018-11-13T18:54:51Z","pushed_at":"2018-11-18T09:39:16Z","git_url":"git://github.com/droideveloper/Weather.git","ssh_url":"git@github.com:droideveloper/Weather.git","clone_url":"https://github.com/droideveloper/Weather.git","svn_url":"https://github.com/droideveloper/Weather","homepage":null,"size":7878,"stargazers_count":0,"watchers_count":0,"language":"Swift","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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/droideveloper/Weather/pulls/36"},"html":{"href":"https://github.com/droideveloper/Weather/pull/36"},"issue":{"href":"https://api.github.com/repos/droideveloper/Weather/issues/36"},"comments":{"href":"https://api.github.com/repos/droideveloper/Weather/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/droideveloper/Weather/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/droideveloper/Weather/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/droideveloper/Weather/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/droideveloper/Weather/statuses/e1874cc398ddf9b2499fcdec773fae238ac5cb17"}},"author_association":"OWNER"}}
{"actor":{"display_login":"droideveloper"}}