{"action":"created","comment":{"url":"https://api.github.com/repos/kiwicom/graphql/pulls/comments/187226283","pull_request_review_id":118962908,"id":187226283,"diff_hunk":"@@ -20,13 +20,9 @@ export default new GraphQLObjectType({\n         { dataLoader, options, locale }: GraphqlContextType,\n         { path }: GraphQLResolveInfo,\n       ): Promise<LocationType> => {\n-        let queryOptions = options.getOptions(path) || {};\n-\n-        if (!queryOptions.locale) {\n-          queryOptions = { ...queryOptions, locale };\n-        }\n-\n-        return dataLoader.location.load(where.code, queryOptions);\n+        const queryOptions = options.getOptions(path) || {};\n+        const useLocale = queryOptions.locale || locale;","path":"src/flight/types/outputs/RouteStop.js","position":22,"original_position":22,"commit_id":"064c2f6b872132c7964f4ed68cfeef9326df6723","original_commit_id":"b54c37e25e90139fcd2d4e417f29988df5472e8d","user":{"login":"radkaag","id":38927712,"avatar_url":"https://avatars3.githubusercontent.com/u/38927712?v=4","gravatar_id":"","url":"https://api.github.com/users/radkaag","html_url":"https://github.com/radkaag","followers_url":"https://api.github.com/users/radkaag/followers","following_url":"https://api.github.com/users/radkaag/following{/other_user}","gists_url":"https://api.github.com/users/radkaag/gists{/gist_id}","starred_url":"https://api.github.com/users/radkaag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radkaag/subscriptions","organizations_url":"https://api.github.com/users/radkaag/orgs","repos_url":"https://api.github.com/users/radkaag/repos","events_url":"https://api.github.com/users/radkaag/events{/privacy}","received_events_url":"https://api.github.com/users/radkaag/received_events","type":"User","site_admin":false},"body":"I rename all files.","created_at":"2018-05-10T02:31:00Z","updated_at":"2018-05-10T02:31:00Z","html_url":"https://github.com/kiwicom/graphql/pull/133#discussion_r187226283","pull_request_url":"https://api.github.com/repos/kiwicom/graphql/pulls/133","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/kiwicom/graphql/pulls/comments/187226283"},"html":{"href":"https://github.com/kiwicom/graphql/pull/133#discussion_r187226283"},"pull_request":{"href":"https://api.github.com/repos/kiwicom/graphql/pulls/133"}},"in_reply_to_id":187106484},"pull_request":{"url":"https://api.github.com/repos/kiwicom/graphql/pulls/133","id":186333771,"html_url":"https://github.com/kiwicom/graphql/pull/133","diff_url":"https://github.com/kiwicom/graphql/pull/133.diff","patch_url":"https://github.com/kiwicom/graphql/pull/133.patch","issue_url":"https://api.github.com/repos/kiwicom/graphql/issues/133","number":133,"state":"open","locked":false,"title":"Call location.loadById in RouteStop","user":{"login":"radkaag","id":38927712,"avatar_url":"https://avatars3.githubusercontent.com/u/38927712?v=4","gravatar_id":"","url":"https://api.github.com/users/radkaag","html_url":"https://github.com/radkaag","followers_url":"https://api.github.com/users/radkaag/followers","following_url":"https://api.github.com/users/radkaag/following{/other_user}","gists_url":"https://api.github.com/users/radkaag/gists{/gist_id}","starred_url":"https://api.github.com/users/radkaag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radkaag/subscriptions","organizations_url":"https://api.github.com/users/radkaag/orgs","repos_url":"https://api.github.com/users/radkaag/repos","events_url":"https://api.github.com/users/radkaag/events{/privacy}","received_events_url":"https://api.github.com/users/radkaag/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-07T12:12:22Z","updated_at":"2018-05-10T02:31:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7cd60cfee50831cd4ae63a4526265e0cf80f45b1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kiwicom/graphql/pulls/133/commits","review_comments_url":"https://api.github.com/repos/kiwicom/graphql/pulls/133/comments","review_comment_url":"https://api.github.com/repos/kiwicom/graphql/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kiwicom/graphql/issues/133/comments","statuses_url":"https://api.github.com/repos/kiwicom/graphql/statuses/064c2f6b872132c7964f4ed68cfeef9326df6723","head":{"label":"kiwicom:17-add-loadbyid","ref":"17-add-loadbyid","sha":"064c2f6b872132c7964f4ed68cfeef9326df6723","user":{"login":"kiwicom","id":25227300,"avatar_url":"https://avatars2.githubusercontent.com/u/25227300?v=4","gravatar_id":"","url":"https://api.github.com/users/kiwicom","html_url":"https://github.com/kiwicom","followers_url":"https://api.github.com/users/kiwicom/followers","following_url":"https://api.github.com/users/kiwicom/following{/other_user}","gists_url":"https://api.github.com/users/kiwicom/gists{/gist_id}","starred_url":"https://api.github.com/users/kiwicom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiwicom/subscriptions","organizations_url":"https://api.github.com/users/kiwicom/orgs","repos_url":"https://api.github.com/users/kiwicom/repos","events_url":"https://api.github.com/users/kiwicom/events{/privacy}","received_events_url":"https://api.github.com/users/kiwicom/received_events","type":"Organization","site_admin":false},"repo":{"id":120301139,"name":"graphql","full_name":"kiwicom/graphql","owner":{"login":"kiwicom","id":25227300,"avatar_url":"https://avatars2.githubusercontent.com/u/25227300?v=4","gravatar_id":"","url":"https://api.github.com/users/kiwicom","html_url":"https://github.com/kiwicom","followers_url":"https://api.github.com/users/kiwicom/followers","following_url":"https://api.github.com/users/kiwicom/following{/other_user}","gists_url":"https://api.github.com/users/kiwicom/gists{/gist_id}","starred_url":"https://api.github.com/users/kiwicom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiwicom/subscriptions","organizations_url":"https://api.github.com/users/kiwicom/orgs","repos_url":"https://api.github.com/users/kiwicom/repos","events_url":"https://api.github.com/users/kiwicom/events{/privacy}","received_events_url":"https://api.github.com/users/kiwicom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kiwicom/graphql","description":":grapes: Public GraphQL proxy for Kiwi.com frontend and mobile devices","fork":false,"url":"https://api.github.com/repos/kiwicom/graphql","forks_url":"https://api.github.com/repos/kiwicom/graphql/forks","keys_url":"https://api.github.com/repos/kiwicom/graphql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kiwicom/graphql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kiwicom/graphql/teams","hooks_url":"https://api.github.com/repos/kiwicom/graphql/hooks","issue_events_url":"https://api.github.com/repos/kiwicom/graphql/issues/events{/number}","events_url":"https://api.github.com/repos/kiwicom/graphql/events","assignees_url":"https://api.github.com/repos/kiwicom/graphql/assignees{/user}","branches_url":"https://api.github.com/repos/kiwicom/graphql/branches{/branch}","tags_url":"https://api.github.com/repos/kiwicom/graphql/tags","blobs_url":"https://api.github.com/repos/kiwicom/graphql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kiwicom/graphql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kiwicom/graphql/git/refs{/sha}","trees_url":"https://api.github.com/repos/kiwicom/graphql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kiwicom/graphql/statuses/{sha}","languages_url":"https://api.github.com/repos/kiwicom/graphql/languages","stargazers_url":"https://api.github.com/repos/kiwicom/graphql/stargazers","contributors_url":"https://api.github.com/repos/kiwicom/graphql/contributors","subscribers_url":"https://api.github.com/repos/kiwicom/graphql/subscribers","subscription_url":"https://api.github.com/repos/kiwicom/graphql/subscription","commits_url":"https://api.github.com/repos/kiwicom/graphql/commits{/sha}","git_commits_url":"https://api.github.com/repos/kiwicom/graphql/git/commits{/sha}","comments_url":"https://api.github.com/repos/kiwicom/graphql/comments{/number}","issue_comment_url":"https://api.github.com/repos/kiwicom/graphql/issues/comments{/number}","contents_url":"https://api.github.com/repos/kiwicom/graphql/contents/{+path}","compare_url":"https://api.github.com/repos/kiwicom/graphql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kiwicom/graphql/merges","archive_url":"https://api.github.com/repos/kiwicom/graphql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kiwicom/graphql/downloads","issues_url":"https://api.github.com/repos/kiwicom/graphql/issues{/number}","pulls_url":"https://api.github.com/repos/kiwicom/graphql/pulls{/number}","milestones_url":"https://api.github.com/repos/kiwicom/graphql/milestones{/number}","notifications_url":"https://api.github.com/repos/kiwicom/graphql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kiwicom/graphql/labels{/name}","releases_url":"https://api.github.com/repos/kiwicom/graphql/releases{/id}","deployments_url":"https://api.github.com/repos/kiwicom/graphql/deployments","created_at":"2018-02-05T12:22:34Z","updated_at":"2018-05-09T13:56:11Z","pushed_at":"2018-05-10T02:24:09Z","git_url":"git://github.com/kiwicom/graphql.git","ssh_url":"git@github.com:kiwicom/graphql.git","clone_url":"https://github.com/kiwicom/graphql.git","svn_url":"https://github.com/kiwicom/graphql","homepage":"https://kiwi-graphiql.now.sh/","size":1160,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":21,"license":null,"forks":4,"open_issues":21,"watchers":10,"default_branch":"master"}},"base":{"label":"kiwicom:17-locations-refactoring","ref":"17-locations-refactoring","sha":"4b5979c202b28e344ec40a862454348b47d40f05","user":{"login":"kiwicom","id":25227300,"avatar_url":"https://avatars2.githubusercontent.com/u/25227300?v=4","gravatar_id":"","url":"https://api.github.com/users/kiwicom","html_url":"https://github.com/kiwicom","followers_url":"https://api.github.com/users/kiwicom/followers","following_url":"https://api.github.com/users/kiwicom/following{/other_user}","gists_url":"https://api.github.com/users/kiwicom/gists{/gist_id}","starred_url":"https://api.github.com/users/kiwicom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiwicom/subscriptions","organizations_url":"https://api.github.com/users/kiwicom/orgs","repos_url":"https://api.github.com/users/kiwicom/repos","events_url":"https://api.github.com/users/kiwicom/events{/privacy}","received_events_url":"https://api.github.com/users/kiwicom/received_events","type":"Organization","site_admin":false},"repo":{"id":120301139,"name":"graphql","full_name":"kiwicom/graphql","owner":{"login":"kiwicom","id":25227300,"avatar_url":"https://avatars2.githubusercontent.com/u/25227300?v=4","gravatar_id":"","url":"https://api.github.com/users/kiwicom","html_url":"https://github.com/kiwicom","followers_url":"https://api.github.com/users/kiwicom/followers","following_url":"https://api.github.com/users/kiwicom/following{/other_user}","gists_url":"https://api.github.com/users/kiwicom/gists{/gist_id}","starred_url":"https://api.github.com/users/kiwicom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiwicom/subscriptions","organizations_url":"https://api.github.com/users/kiwicom/orgs","repos_url":"https://api.github.com/users/kiwicom/repos","events_url":"https://api.github.com/users/kiwicom/events{/privacy}","received_events_url":"https://api.github.com/users/kiwicom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kiwicom/graphql","description":":grapes: Public GraphQL proxy for Kiwi.com frontend and mobile devices","fork":false,"url":"https://api.github.com/repos/kiwicom/graphql","forks_url":"https://api.github.com/repos/kiwicom/graphql/forks","keys_url":"https://api.github.com/repos/kiwicom/graphql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kiwicom/graphql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kiwicom/graphql/teams","hooks_url":"https://api.github.com/repos/kiwicom/graphql/hooks","issue_events_url":"https://api.github.com/repos/kiwicom/graphql/issues/events{/number}","events_url":"https://api.github.com/repos/kiwicom/graphql/events","assignees_url":"https://api.github.com/repos/kiwicom/graphql/assignees{/user}","branches_url":"https://api.github.com/repos/kiwicom/graphql/branches{/branch}","tags_url":"https://api.github.com/repos/kiwicom/graphql/tags","blobs_url":"https://api.github.com/repos/kiwicom/graphql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kiwicom/graphql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kiwicom/graphql/git/refs{/sha}","trees_url":"https://api.github.com/repos/kiwicom/graphql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kiwicom/graphql/statuses/{sha}","languages_url":"https://api.github.com/repos/kiwicom/graphql/languages","stargazers_url":"https://api.github.com/repos/kiwicom/graphql/stargazers","contributors_url":"https://api.github.com/repos/kiwicom/graphql/contributors","subscribers_url":"https://api.github.com/repos/kiwicom/graphql/subscribers","subscription_url":"https://api.github.com/repos/kiwicom/graphql/subscription","commits_url":"https://api.github.com/repos/kiwicom/graphql/commits{/sha}","git_commits_url":"https://api.github.com/repos/kiwicom/graphql/git/commits{/sha}","comments_url":"https://api.github.com/repos/kiwicom/graphql/comments{/number}","issue_comment_url":"https://api.github.com/repos/kiwicom/graphql/issues/comments{/number}","contents_url":"https://api.github.com/repos/kiwicom/graphql/contents/{+path}","compare_url":"https://api.github.com/repos/kiwicom/graphql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kiwicom/graphql/merges","archive_url":"https://api.github.com/repos/kiwicom/graphql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kiwicom/graphql/downloads","issues_url":"https://api.github.com/repos/kiwicom/graphql/issues{/number}","pulls_url":"https://api.github.com/repos/kiwicom/graphql/pulls{/number}","milestones_url":"https://api.github.com/repos/kiwicom/graphql/milestones{/number}","notifications_url":"https://api.github.com/repos/kiwicom/graphql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kiwicom/graphql/labels{/name}","releases_url":"https://api.github.com/repos/kiwicom/graphql/releases{/id}","deployments_url":"https://api.github.com/repos/kiwicom/graphql/deployments","created_at":"2018-02-05T12:22:34Z","updated_at":"2018-05-09T13:56:11Z","pushed_at":"2018-05-10T02:24:09Z","git_url":"git://github.com/kiwicom/graphql.git","ssh_url":"git@github.com:kiwicom/graphql.git","clone_url":"https://github.com/kiwicom/graphql.git","svn_url":"https://github.com/kiwicom/graphql","homepage":"https://kiwi-graphiql.now.sh/","size":1160,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":21,"license":null,"forks":4,"open_issues":21,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kiwicom/graphql/pulls/133"},"html":{"href":"https://github.com/kiwicom/graphql/pull/133"},"issue":{"href":"https://api.github.com/repos/kiwicom/graphql/issues/133"},"comments":{"href":"https://api.github.com/repos/kiwicom/graphql/issues/133/comments"},"review_comments":{"href":"https://api.github.com/repos/kiwicom/graphql/pulls/133/comments"},"review_comment":{"href":"https://api.github.com/repos/kiwicom/graphql/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kiwicom/graphql/pulls/133/commits"},"statuses":{"href":"https://api.github.com/repos/kiwicom/graphql/statuses/064c2f6b872132c7964f4ed68cfeef9326df6723"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"radkaag"}}