{"action":"created","comment":{"url":"https://api.github.com/repos/edenlabllc/ehealth.api/pulls/comments/195718633","pull_request_review_id":129144754,"id":195718633,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NTcxODYzMw==","diff_hunk":"@@ -0,0 +1,24 @@\n+defmodule EHealth.AddressFactory do\n+  @moduledoc false\n+\n+  defmacro __using__(_opts) do\n+    quote do\n+      def address_factory do\n+        %{\n+          type: \"REGISTRATION\",","path":"apps/ehealth/test/support/address-factory.ex","position":8,"original_position":8,"commit_id":"1ad561dc233e095ed784333e7279e53c8fd7f595","original_commit_id":"1ad561dc233e095ed784333e7279e53c8fd7f595","user":{"login":"AlexKovalevych","id":577231,"node_id":"MDQ6VXNlcjU3NzIzMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/577231?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexKovalevych","html_url":"https://github.com/AlexKovalevych","followers_url":"https://api.github.com/users/AlexKovalevych/followers","following_url":"https://api.github.com/users/AlexKovalevych/following{/other_user}","gists_url":"https://api.github.com/users/AlexKovalevych/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexKovalevych/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexKovalevych/subscriptions","organizations_url":"https://api.github.com/users/AlexKovalevych/orgs","repos_url":"https://api.github.com/users/AlexKovalevych/repos","events_url":"https://api.github.com/users/AlexKovalevych/events{/privacy}","received_events_url":"https://api.github.com/users/AlexKovalevych/received_events","type":"User","site_admin":false},"body":"you can use string keys and avoid extra conversion","created_at":"2018-06-15T12:37:39Z","updated_at":"2018-06-15T12:39:01Z","html_url":"https://github.com/edenlabllc/ehealth.api/pull/2450#discussion_r195718633","pull_request_url":"https://api.github.com/repos/edenlabllc/ehealth.api/pulls/2450","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/edenlabllc/ehealth.api/pulls/comments/195718633"},"html":{"href":"https://github.com/edenlabllc/ehealth.api/pull/2450#discussion_r195718633"},"pull_request":{"href":"https://api.github.com/repos/edenlabllc/ehealth.api/pulls/2450"}}},"pull_request":{"url":"https://api.github.com/repos/edenlabllc/ehealth.api/pulls/2450","id":194525459,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0NTI1NDU5","html_url":"https://github.com/edenlabllc/ehealth.api/pull/2450","diff_url":"https://github.com/edenlabllc/ehealth.api/pull/2450.diff","patch_url":"https://github.com/edenlabllc/ehealth.api/pull/2450.patch","issue_url":"https://api.github.com/repos/edenlabllc/ehealth.api/issues/2450","number":2450,"state":"open","locked":false,"title":"Drop simple factory #2416","user":{"login":"magiccookie","id":9988008,"node_id":"MDQ6VXNlcjk5ODgwMDg=","avatar_url":"https://avatars0.githubusercontent.com/u/9988008?v=4","gravatar_id":"","url":"https://api.github.com/users/magiccookie","html_url":"https://github.com/magiccookie","followers_url":"https://api.github.com/users/magiccookie/followers","following_url":"https://api.github.com/users/magiccookie/following{/other_user}","gists_url":"https://api.github.com/users/magiccookie/gists{/gist_id}","starred_url":"https://api.github.com/users/magiccookie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magiccookie/subscriptions","organizations_url":"https://api.github.com/users/magiccookie/orgs","repos_url":"https://api.github.com/users/magiccookie/repos","events_url":"https://api.github.com/users/magiccookie/events{/privacy}","received_events_url":"https://api.github.com/users/magiccookie/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-13T09:36:22Z","updated_at":"2018-06-15T12:39:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1069344c7f4f1e4f639c4308a238111470bc4209","assignee":{"login":"magiccookie","id":9988008,"node_id":"MDQ6VXNlcjk5ODgwMDg=","avatar_url":"https://avatars0.githubusercontent.com/u/9988008?v=4","gravatar_id":"","url":"https://api.github.com/users/magiccookie","html_url":"https://github.com/magiccookie","followers_url":"https://api.github.com/users/magiccookie/followers","following_url":"https://api.github.com/users/magiccookie/following{/other_user}","gists_url":"https://api.github.com/users/magiccookie/gists{/gist_id}","starred_url":"https://api.github.com/users/magiccookie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magiccookie/subscriptions","organizations_url":"https://api.github.com/users/magiccookie/orgs","repos_url":"https://api.github.com/users/magiccookie/repos","events_url":"https://api.github.com/users/magiccookie/events{/privacy}","received_events_url":"https://api.github.com/users/magiccookie/received_events","type":"User","site_admin":false},"assignees":[{"login":"magiccookie","id":9988008,"node_id":"MDQ6VXNlcjk5ODgwMDg=","avatar_url":"https://avatars0.githubusercontent.com/u/9988008?v=4","gravatar_id":"","url":"https://api.github.com/users/magiccookie","html_url":"https://github.com/magiccookie","followers_url":"https://api.github.com/users/magiccookie/followers","following_url":"https://api.github.com/users/magiccookie/following{/other_user}","gists_url":"https://api.github.com/users/magiccookie/gists{/gist_id}","starred_url":"https://api.github.com/users/magiccookie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magiccookie/subscriptions","organizations_url":"https://api.github.com/users/magiccookie/orgs","repos_url":"https://api.github.com/users/magiccookie/repos","events_url":"https://api.github.com/users/magiccookie/events{/privacy}","received_events_url":"https://api.github.com/users/magiccookie/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":573865561,"node_id":"MDU6TGFiZWw1NzM4NjU1NjE=","url":"https://api.github.com/repos/edenlabllc/ehealth.api/labels/status/in-progress","name":"status/in-progress","color":"84b6eb","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/edenlabllc/ehealth.api/pulls/2450/commits","review_comments_url":"https://api.github.com/repos/edenlabllc/ehealth.api/pulls/2450/comments","review_comment_url":"https://api.github.com/repos/edenlabllc/ehealth.api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edenlabllc/ehealth.api/issues/2450/comments","statuses_url":"https://api.github.com/repos/edenlabllc/ehealth.api/statuses/1ad561dc233e095ed784333e7279e53c8fd7f595","head":{"label":"edenlabllc:drop_simple_factory_#2416","ref":"drop_simple_factory_#2416","sha":"1ad561dc233e095ed784333e7279e53c8fd7f595","user":{"login":"edenlabllc","id":29564877,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NTY0ODc3","avatar_url":"https://avatars1.githubusercontent.com/u/29564877?v=4","gravatar_id":"","url":"https://api.github.com/users/edenlabllc","html_url":"https://github.com/edenlabllc","followers_url":"https://api.github.com/users/edenlabllc/followers","following_url":"https://api.github.com/users/edenlabllc/following{/other_user}","gists_url":"https://api.github.com/users/edenlabllc/gists{/gist_id}","starred_url":"https://api.github.com/users/edenlabllc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edenlabllc/subscriptions","organizations_url":"https://api.github.com/users/edenlabllc/orgs","repos_url":"https://api.github.com/users/edenlabllc/repos","events_url":"https://api.github.com/users/edenlabllc/events{/privacy}","received_events_url":"https://api.github.com/users/edenlabllc/received_events","type":"Organization","site_admin":false},"repo":{"id":83801950,"node_id":"MDEwOlJlcG9zaXRvcnk4MzgwMTk1MA==","name":"ehealth.api","full_name":"edenlabllc/ehealth.api","owner":{"login":"edenlabllc","id":29564877,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NTY0ODc3","avatar_url":"https://avatars1.githubusercontent.com/u/29564877?v=4","gravatar_id":"","url":"https://api.github.com/users/edenlabllc","html_url":"https://github.com/edenlabllc","followers_url":"https://api.github.com/users/edenlabllc/followers","following_url":"https://api.github.com/users/edenlabllc/following{/other_user}","gists_url":"https://api.github.com/users/edenlabllc/gists{/gist_id}","starred_url":"https://api.github.com/users/edenlabllc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edenlabllc/subscriptions","organizations_url":"https://api.github.com/users/edenlabllc/orgs","repos_url":"https://api.github.com/users/edenlabllc/repos","events_url":"https://api.github.com/users/edenlabllc/events{/privacy}","received_events_url":"https://api.github.com/users/edenlabllc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edenlabllc/ehealth.api","description":"Index page and integration layer for projects that related to Ukrainian Health Services government institution","fork":false,"url":"https://api.github.com/repos/edenlabllc/ehealth.api","forks_url":"https://api.github.com/repos/edenlabllc/ehealth.api/forks","keys_url":"https://api.github.com/repos/edenlabllc/ehealth.api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edenlabllc/ehealth.api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edenlabllc/ehealth.api/teams","hooks_url":"https://api.github.com/repos/edenlabllc/ehealth.api/hooks","issue_events_url":"https://api.github.com/repos/edenlabllc/ehealth.api/issues/events{/number}","events_url":"https://api.github.com/repos/edenlabllc/ehealth.api/events","assignees_url":"https://api.github.com/repos/edenlabllc/ehealth.api/assignees{/user}","branches_url":"https://api.github.com/repos/edenlabllc/ehealth.api/branches{/branch}","tags_url":"https://api.github.com/repos/edenlabllc/ehealth.api/tags","blobs_url":"https://api.github.com/repos/edenlabllc/ehealth.api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edenlabllc/ehealth.api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edenlabllc/ehealth.api/git/refs{/sha}","trees_url":"https://api.github.com/repos/edenlabllc/ehealth.api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edenlabllc/ehealth.api/statuses/{sha}","languages_url":"https://api.github.com/repos/edenlabllc/ehealth.api/languages","stargazers_url":"https://api.github.com/repos/edenlabllc/ehealth.api/stargazers","contributors_url":"https://api.github.com/repos/edenlabllc/ehealth.api/contributors","subscribers_url":"https://api.github.com/repos/edenlabllc/ehealth.api/subscribers","subscription_url":"https://api.github.com/repos/edenlabllc/ehealth.api/subscription","commits_url":"https://api.github.com/repos/edenlabllc/ehealth.api/commits{/sha}","git_commits_url":"https://api.github.com/repos/edenlabllc/ehealth.api/git/commits{/sha}","comments_url":"https://api.github.com/repos/edenlabllc/ehealth.api/comments{/number}","issue_comment_url":"https://api.github.com/repos/edenlabllc/ehealth.api/issues/comments{/number}","contents_url":"https://api.github.com/repos/edenlabllc/ehealth.api/contents/{+path}","compare_url":"https://api.github.com/repos/edenlabllc/ehealth.api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edenlabllc/ehealth.api/merges","archive_url":"https://api.github.com/repos/edenlabllc/ehealth.api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edenlabllc/ehealth.api/downloads","issues_url":"https://api.github.com/repos/edenlabllc/ehealth.api/issues{/number}","pulls_url":"https://api.github.com/repos/edenlabllc/ehealth.api/pulls{/number}","milestones_url":"https://api.github.com/repos/edenlabllc/ehealth.api/milestones{/number}","notifications_url":"https://api.github.com/repos/edenlabllc/ehealth.api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edenlabllc/ehealth.api/labels{/name}","releases_url":"https://api.github.com/repos/edenlabllc/ehealth.api/releases{/id}","deployments_url":"https://api.github.com/repos/edenlabllc/ehealth.api/deployments","created_at":"2017-03-03T13:40:00Z","updated_at":"2018-06-15T09:12:05Z","pushed_at":"2018-06-15T12:23:58Z","git_url":"git://github.com/edenlabllc/ehealth.api.git","ssh_url":"git@github.com:edenlabllc/ehealth.api.git","clone_url":"https://github.com/edenlabllc/ehealth.api.git","svn_url":"https://github.com/edenlabllc/ehealth.api","homepage":"","size":6219,"stargazers_count":78,"watchers_count":78,"language":"Elixir","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":181,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":16,"open_issues":181,"watchers":78,"default_branch":"master"}},"base":{"label":"edenlabllc:master","ref":"master","sha":"496c1da059b0cd78a3f03494c59ec3284153fb8f","user":{"login":"edenlabllc","id":29564877,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NTY0ODc3","avatar_url":"https://avatars1.githubusercontent.com/u/29564877?v=4","gravatar_id":"","url":"https://api.github.com/users/edenlabllc","html_url":"https://github.com/edenlabllc","followers_url":"https://api.github.com/users/edenlabllc/followers","following_url":"https://api.github.com/users/edenlabllc/following{/other_user}","gists_url":"https://api.github.com/users/edenlabllc/gists{/gist_id}","starred_url":"https://api.github.com/users/edenlabllc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edenlabllc/subscriptions","organizations_url":"https://api.github.com/users/edenlabllc/orgs","repos_url":"https://api.github.com/users/edenlabllc/repos","events_url":"https://api.github.com/users/edenlabllc/events{/privacy}","received_events_url":"https://api.github.com/users/edenlabllc/received_events","type":"Organization","site_admin":false},"repo":{"id":83801950,"node_id":"MDEwOlJlcG9zaXRvcnk4MzgwMTk1MA==","name":"ehealth.api","full_name":"edenlabllc/ehealth.api","owner":{"login":"edenlabllc","id":29564877,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NTY0ODc3","avatar_url":"https://avatars1.githubusercontent.com/u/29564877?v=4","gravatar_id":"","url":"https://api.github.com/users/edenlabllc","html_url":"https://github.com/edenlabllc","followers_url":"https://api.github.com/users/edenlabllc/followers","following_url":"https://api.github.com/users/edenlabllc/following{/other_user}","gists_url":"https://api.github.com/users/edenlabllc/gists{/gist_id}","starred_url":"https://api.github.com/users/edenlabllc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edenlabllc/subscriptions","organizations_url":"https://api.github.com/users/edenlabllc/orgs","repos_url":"https://api.github.com/users/edenlabllc/repos","events_url":"https://api.github.com/users/edenlabllc/events{/privacy}","received_events_url":"https://api.github.com/users/edenlabllc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edenlabllc/ehealth.api","description":"Index page and integration layer for projects that related to Ukrainian Health Services government institution","fork":false,"url":"https://api.github.com/repos/edenlabllc/ehealth.api","forks_url":"https://api.github.com/repos/edenlabllc/ehealth.api/forks","keys_url":"https://api.github.com/repos/edenlabllc/ehealth.api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edenlabllc/ehealth.api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edenlabllc/ehealth.api/teams","hooks_url":"https://api.github.com/repos/edenlabllc/ehealth.api/hooks","issue_events_url":"https://api.github.com/repos/edenlabllc/ehealth.api/issues/events{/number}","events_url":"https://api.github.com/repos/edenlabllc/ehealth.api/events","assignees_url":"https://api.github.com/repos/edenlabllc/ehealth.api/assignees{/user}","branches_url":"https://api.github.com/repos/edenlabllc/ehealth.api/branches{/branch}","tags_url":"https://api.github.com/repos/edenlabllc/ehealth.api/tags","blobs_url":"https://api.github.com/repos/edenlabllc/ehealth.api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edenlabllc/ehealth.api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edenlabllc/ehealth.api/git/refs{/sha}","trees_url":"https://api.github.com/repos/edenlabllc/ehealth.api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edenlabllc/ehealth.api/statuses/{sha}","languages_url":"https://api.github.com/repos/edenlabllc/ehealth.api/languages","stargazers_url":"https://api.github.com/repos/edenlabllc/ehealth.api/stargazers","contributors_url":"https://api.github.com/repos/edenlabllc/ehealth.api/contributors","subscribers_url":"https://api.github.com/repos/edenlabllc/ehealth.api/subscribers","subscription_url":"https://api.github.com/repos/edenlabllc/ehealth.api/subscription","commits_url":"https://api.github.com/repos/edenlabllc/ehealth.api/commits{/sha}","git_commits_url":"https://api.github.com/repos/edenlabllc/ehealth.api/git/commits{/sha}","comments_url":"https://api.github.com/repos/edenlabllc/ehealth.api/comments{/number}","issue_comment_url":"https://api.github.com/repos/edenlabllc/ehealth.api/issues/comments{/number}","contents_url":"https://api.github.com/repos/edenlabllc/ehealth.api/contents/{+path}","compare_url":"https://api.github.com/repos/edenlabllc/ehealth.api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edenlabllc/ehealth.api/merges","archive_url":"https://api.github.com/repos/edenlabllc/ehealth.api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edenlabllc/ehealth.api/downloads","issues_url":"https://api.github.com/repos/edenlabllc/ehealth.api/issues{/number}","pulls_url":"https://api.github.com/repos/edenlabllc/ehealth.api/pulls{/number}","milestones_url":"https://api.github.com/repos/edenlabllc/ehealth.api/milestones{/number}","notifications_url":"https://api.github.com/repos/edenlabllc/ehealth.api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edenlabllc/ehealth.api/labels{/name}","releases_url":"https://api.github.com/repos/edenlabllc/ehealth.api/releases{/id}","deployments_url":"https://api.github.com/repos/edenlabllc/ehealth.api/deployments","created_at":"2017-03-03T13:40:00Z","updated_at":"2018-06-15T09:12:05Z","pushed_at":"2018-06-15T12:23:58Z","git_url":"git://github.com/edenlabllc/ehealth.api.git","ssh_url":"git@github.com:edenlabllc/ehealth.api.git","clone_url":"https://github.com/edenlabllc/ehealth.api.git","svn_url":"https://github.com/edenlabllc/ehealth.api","homepage":"","size":6219,"stargazers_count":78,"watchers_count":78,"language":"Elixir","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":181,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":16,"open_issues":181,"watchers":78,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edenlabllc/ehealth.api/pulls/2450"},"html":{"href":"https://github.com/edenlabllc/ehealth.api/pull/2450"},"issue":{"href":"https://api.github.com/repos/edenlabllc/ehealth.api/issues/2450"},"comments":{"href":"https://api.github.com/repos/edenlabllc/ehealth.api/issues/2450/comments"},"review_comments":{"href":"https://api.github.com/repos/edenlabllc/ehealth.api/pulls/2450/comments"},"review_comment":{"href":"https://api.github.com/repos/edenlabllc/ehealth.api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edenlabllc/ehealth.api/pulls/2450/commits"},"statuses":{"href":"https://api.github.com/repos/edenlabllc/ehealth.api/statuses/1ad561dc233e095ed784333e7279e53c8fd7f595"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"AlexKovalevych"}}