{"action":"created","comment":{"url":"https://api.github.com/repos/edenlabllc/ehealth.api/pulls/comments/228883562","pull_request_review_id":169248688,"id":228883562,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyODg4MzU2Mg==","diff_hunk":"@@ -0,0 +1,74 @@\n+defmodule GraphQLWeb.Schema.ScalarTypes do\n+  @moduledoc false\n+\n+  use Absinthe.Schema.Notation\n+\n+  alias Absinthe.Blueprint.Input\n+\n+  scalar :date_range do\n+    serialize(&serialize_date_range/1)\n+    parse(&parse_date_range/1)\n+  end\n+\n+  defp serialize_date_range(%{first: first, last: last}) when not is_nil(first) and not is_nil(last) do","path":"apps/graphql/lib/graphql_web/schema/scalar_types.ex","position":13,"original_position":13,"commit_id":"4a18d737c13b94fdc7f1d53ddb1bb672974f86b4","original_commit_id":"4a18d737c13b94fdc7f1d53ddb1bb672974f86b4","user":{"login":"progsmile","id":6272773,"node_id":"MDQ6VXNlcjYyNzI3NzM=","avatar_url":"https://avatars3.githubusercontent.com/u/6272773?v=4","gravatar_id":"","url":"https://api.github.com/users/progsmile","html_url":"https://github.com/progsmile","followers_url":"https://api.github.com/users/progsmile/followers","following_url":"https://api.github.com/users/progsmile/following{/other_user}","gists_url":"https://api.github.com/users/progsmile/gists{/gist_id}","starred_url":"https://api.github.com/users/progsmile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/progsmile/subscriptions","organizations_url":"https://api.github.com/users/progsmile/orgs","repos_url":"https://api.github.com/users/progsmile/repos","events_url":"https://api.github.com/users/progsmile/events{/privacy}","received_events_url":"https://api.github.com/users/progsmile/received_events","type":"User","site_admin":false},"body":"I would do the same with `parse_date_range`\r\n@PavelVesnin @kiurchv thoughts?","created_at":"2018-10-29T11:11:40Z","updated_at":"2018-10-29T11:11:46Z","html_url":"https://github.com/edenlabllc/ehealth.api/pull/3365#discussion_r228883562","pull_request_url":"https://api.github.com/repos/edenlabllc/ehealth.api/pulls/3365","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/edenlabllc/ehealth.api/pulls/comments/228883562"},"html":{"href":"https://github.com/edenlabllc/ehealth.api/pull/3365#discussion_r228883562"},"pull_request":{"href":"https://api.github.com/repos/edenlabllc/ehealth.api/pulls/3365"}},"in_reply_to_id":228882918},"pull_request":{"url":"https://api.github.com/repos/edenlabllc/ehealth.api/pulls/3365","id":226495094,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2NDk1MDk0","html_url":"https://github.com/edenlabllc/ehealth.api/pull/3365","diff_url":"https://github.com/edenlabllc/ehealth.api/pull/3365.diff","patch_url":"https://github.com/edenlabllc/ehealth.api/pull/3365.patch","issue_url":"https://api.github.com/repos/edenlabllc/ehealth.api/issues/3365","number":3365,"state":"open","locked":false,"title":"add date range scalar type","user":{"login":"kiurchv","id":576520,"node_id":"MDQ6VXNlcjU3NjUyMA==","avatar_url":"https://avatars1.githubusercontent.com/u/576520?v=4","gravatar_id":"","url":"https://api.github.com/users/kiurchv","html_url":"https://github.com/kiurchv","followers_url":"https://api.github.com/users/kiurchv/followers","following_url":"https://api.github.com/users/kiurchv/following{/other_user}","gists_url":"https://api.github.com/users/kiurchv/gists{/gist_id}","starred_url":"https://api.github.com/users/kiurchv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiurchv/subscriptions","organizations_url":"https://api.github.com/users/kiurchv/orgs","repos_url":"https://api.github.com/users/kiurchv/repos","events_url":"https://api.github.com/users/kiurchv/events{/privacy}","received_events_url":"https://api.github.com/users/kiurchv/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-29T09:51:15Z","updated_at":"2018-10-29T11:11:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"400411e7d1ecc5cb2cf2aee785f6aaaed969d8f1","assignee":{"login":"kiurchv","id":576520,"node_id":"MDQ6VXNlcjU3NjUyMA==","avatar_url":"https://avatars1.githubusercontent.com/u/576520?v=4","gravatar_id":"","url":"https://api.github.com/users/kiurchv","html_url":"https://github.com/kiurchv","followers_url":"https://api.github.com/users/kiurchv/followers","following_url":"https://api.github.com/users/kiurchv/following{/other_user}","gists_url":"https://api.github.com/users/kiurchv/gists{/gist_id}","starred_url":"https://api.github.com/users/kiurchv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiurchv/subscriptions","organizations_url":"https://api.github.com/users/kiurchv/orgs","repos_url":"https://api.github.com/users/kiurchv/repos","events_url":"https://api.github.com/users/kiurchv/events{/privacy}","received_events_url":"https://api.github.com/users/kiurchv/received_events","type":"User","site_admin":false},"assignees":[{"login":"kiurchv","id":576520,"node_id":"MDQ6VXNlcjU3NjUyMA==","avatar_url":"https://avatars1.githubusercontent.com/u/576520?v=4","gravatar_id":"","url":"https://api.github.com/users/kiurchv","html_url":"https://github.com/kiurchv","followers_url":"https://api.github.com/users/kiurchv/followers","following_url":"https://api.github.com/users/kiurchv/following{/other_user}","gists_url":"https://api.github.com/users/kiurchv/gists{/gist_id}","starred_url":"https://api.github.com/users/kiurchv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiurchv/subscriptions","organizations_url":"https://api.github.com/users/kiurchv/orgs","repos_url":"https://api.github.com/users/kiurchv/repos","events_url":"https://api.github.com/users/kiurchv/events{/privacy}","received_events_url":"https://api.github.com/users/kiurchv/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"PavelVesnin","id":7769545,"node_id":"MDQ6VXNlcjc3Njk1NDU=","avatar_url":"https://avatars1.githubusercontent.com/u/7769545?v=4","gravatar_id":"","url":"https://api.github.com/users/PavelVesnin","html_url":"https://github.com/PavelVesnin","followers_url":"https://api.github.com/users/PavelVesnin/followers","following_url":"https://api.github.com/users/PavelVesnin/following{/other_user}","gists_url":"https://api.github.com/users/PavelVesnin/gists{/gist_id}","starred_url":"https://api.github.com/users/PavelVesnin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PavelVesnin/subscriptions","organizations_url":"https://api.github.com/users/PavelVesnin/orgs","repos_url":"https://api.github.com/users/PavelVesnin/repos","events_url":"https://api.github.com/users/PavelVesnin/events{/privacy}","received_events_url":"https://api.github.com/users/PavelVesnin/received_events","type":"User","site_admin":false}],"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/3365/commits","review_comments_url":"https://api.github.com/repos/edenlabllc/ehealth.api/pulls/3365/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/3365/comments","statuses_url":"https://api.github.com/repos/edenlabllc/ehealth.api/statuses/4a18d737c13b94fdc7f1d53ddb1bb672974f86b4","head":{"label":"edenlabllc:add-date-range-scalar","ref":"add-date-range-scalar","sha":"4a18d737c13b94fdc7f1d53ddb1bb672974f86b4","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","private":false,"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},"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-10-26T14:30:26Z","pushed_at":"2018-10-29T10:08:45Z","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":7417,"stargazers_count":90,"watchers_count":90,"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":197,"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":197,"watchers":90,"default_branch":"develop"}},"base":{"label":"edenlabllc:develop","ref":"develop","sha":"9c09d63fa08daaeab0c67a987b34d1808de74b6d","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","private":false,"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},"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-10-26T14:30:26Z","pushed_at":"2018-10-29T10:08:45Z","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":7417,"stargazers_count":90,"watchers_count":90,"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":197,"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":197,"watchers":90,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/edenlabllc/ehealth.api/pulls/3365"},"html":{"href":"https://github.com/edenlabllc/ehealth.api/pull/3365"},"issue":{"href":"https://api.github.com/repos/edenlabllc/ehealth.api/issues/3365"},"comments":{"href":"https://api.github.com/repos/edenlabllc/ehealth.api/issues/3365/comments"},"review_comments":{"href":"https://api.github.com/repos/edenlabllc/ehealth.api/pulls/3365/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/3365/commits"},"statuses":{"href":"https://api.github.com/repos/edenlabllc/ehealth.api/statuses/4a18d737c13b94fdc7f1d53ddb1bb672974f86b4"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"progsmile"}}