{"action":"opened","number":153,"pull_request":{"url":"https://api.github.com/repos/vlovgr/ciris/pulls/153","id":195441008,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1NDQxMDA4","html_url":"https://github.com/vlovgr/ciris/pull/153","diff_url":"https://github.com/vlovgr/ciris/pull/153.diff","patch_url":"https://github.com/vlovgr/ciris/pull/153.patch","issue_url":"https://api.github.com/repos/vlovgr/ciris/issues/153","number":153,"state":"open","locked":false,"title":"Prevent generic decoding for Option","user":{"login":"vlovgr","id":1163201,"node_id":"MDQ6VXNlcjExNjMyMDE=","avatar_url":"https://avatars1.githubusercontent.com/u/1163201?v=4","gravatar_id":"","url":"https://api.github.com/users/vlovgr","html_url":"https://github.com/vlovgr","followers_url":"https://api.github.com/users/vlovgr/followers","following_url":"https://api.github.com/users/vlovgr/following{/other_user}","gists_url":"https://api.github.com/users/vlovgr/gists{/gist_id}","starred_url":"https://api.github.com/users/vlovgr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlovgr/subscriptions","organizations_url":"https://api.github.com/users/vlovgr/orgs","repos_url":"https://api.github.com/users/vlovgr/repos","events_url":"https://api.github.com/users/vlovgr/events{/privacy}","received_events_url":"https://api.github.com/users/vlovgr/received_events","type":"User","site_admin":false},"body":"Before, the current behaviour of the generic module.\r\n\r\n```scala\r\nscala> import ciris._, ciris.generic._\r\nimport ciris._\r\nimport ciris.generic._\r\n\r\nscala> prop[Option[String]](\"file.encoding\").value\r\nres0: ciris.api.Id[Either[ciris.ConfigError,Option[String]]] = Right(None)\r\n```\r\n\r\nAfter, with the changes in this pull request.\r\n\r\n```scala\r\nscala> import ciris._, ciris.generic._\r\nimport ciris._\r\nimport ciris.generic._\r\n\r\nscala> prop[Option[String]](\"file.encoding\").value\r\nres0: ciris.api.Id[Either[ciris.ConfigError,Option[String]]] = Right(Some(UTF8))\r\n```","created_at":"2018-06-18T07:28:23Z","updated_at":"2018-06-18T07:28:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/vlovgr/ciris/pulls/153/commits","review_comments_url":"https://api.github.com/repos/vlovgr/ciris/pulls/153/comments","review_comment_url":"https://api.github.com/repos/vlovgr/ciris/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vlovgr/ciris/issues/153/comments","statuses_url":"https://api.github.com/repos/vlovgr/ciris/statuses/6f73c0f6bb334d7fb0899c00bbe2a6115d023086","head":{"label":"vlovgr:fix-generic-option","ref":"fix-generic-option","sha":"6f73c0f6bb334d7fb0899c00bbe2a6115d023086","user":{"login":"vlovgr","id":1163201,"node_id":"MDQ6VXNlcjExNjMyMDE=","avatar_url":"https://avatars1.githubusercontent.com/u/1163201?v=4","gravatar_id":"","url":"https://api.github.com/users/vlovgr","html_url":"https://github.com/vlovgr","followers_url":"https://api.github.com/users/vlovgr/followers","following_url":"https://api.github.com/users/vlovgr/following{/other_user}","gists_url":"https://api.github.com/users/vlovgr/gists{/gist_id}","starred_url":"https://api.github.com/users/vlovgr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlovgr/subscriptions","organizations_url":"https://api.github.com/users/vlovgr/orgs","repos_url":"https://api.github.com/users/vlovgr/repos","events_url":"https://api.github.com/users/vlovgr/events{/privacy}","received_events_url":"https://api.github.com/users/vlovgr/received_events","type":"User","site_admin":false},"repo":{"id":89642781,"node_id":"MDEwOlJlcG9zaXRvcnk4OTY0Mjc4MQ==","name":"ciris","full_name":"vlovgr/ciris","owner":{"login":"vlovgr","id":1163201,"node_id":"MDQ6VXNlcjExNjMyMDE=","avatar_url":"https://avatars1.githubusercontent.com/u/1163201?v=4","gravatar_id":"","url":"https://api.github.com/users/vlovgr","html_url":"https://github.com/vlovgr","followers_url":"https://api.github.com/users/vlovgr/followers","following_url":"https://api.github.com/users/vlovgr/following{/other_user}","gists_url":"https://api.github.com/users/vlovgr/gists{/gist_id}","starred_url":"https://api.github.com/users/vlovgr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlovgr/subscriptions","organizations_url":"https://api.github.com/users/vlovgr/orgs","repos_url":"https://api.github.com/users/vlovgr/repos","events_url":"https://api.github.com/users/vlovgr/events{/privacy}","received_events_url":"https://api.github.com/users/vlovgr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vlovgr/ciris","description":"Lightweight, extensible, and validated configuration loading in Scala","fork":false,"url":"https://api.github.com/repos/vlovgr/ciris","forks_url":"https://api.github.com/repos/vlovgr/ciris/forks","keys_url":"https://api.github.com/repos/vlovgr/ciris/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vlovgr/ciris/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vlovgr/ciris/teams","hooks_url":"https://api.github.com/repos/vlovgr/ciris/hooks","issue_events_url":"https://api.github.com/repos/vlovgr/ciris/issues/events{/number}","events_url":"https://api.github.com/repos/vlovgr/ciris/events","assignees_url":"https://api.github.com/repos/vlovgr/ciris/assignees{/user}","branches_url":"https://api.github.com/repos/vlovgr/ciris/branches{/branch}","tags_url":"https://api.github.com/repos/vlovgr/ciris/tags","blobs_url":"https://api.github.com/repos/vlovgr/ciris/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vlovgr/ciris/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vlovgr/ciris/git/refs{/sha}","trees_url":"https://api.github.com/repos/vlovgr/ciris/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vlovgr/ciris/statuses/{sha}","languages_url":"https://api.github.com/repos/vlovgr/ciris/languages","stargazers_url":"https://api.github.com/repos/vlovgr/ciris/stargazers","contributors_url":"https://api.github.com/repos/vlovgr/ciris/contributors","subscribers_url":"https://api.github.com/repos/vlovgr/ciris/subscribers","subscription_url":"https://api.github.com/repos/vlovgr/ciris/subscription","commits_url":"https://api.github.com/repos/vlovgr/ciris/commits{/sha}","git_commits_url":"https://api.github.com/repos/vlovgr/ciris/git/commits{/sha}","comments_url":"https://api.github.com/repos/vlovgr/ciris/comments{/number}","issue_comment_url":"https://api.github.com/repos/vlovgr/ciris/issues/comments{/number}","contents_url":"https://api.github.com/repos/vlovgr/ciris/contents/{+path}","compare_url":"https://api.github.com/repos/vlovgr/ciris/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vlovgr/ciris/merges","archive_url":"https://api.github.com/repos/vlovgr/ciris/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vlovgr/ciris/downloads","issues_url":"https://api.github.com/repos/vlovgr/ciris/issues{/number}","pulls_url":"https://api.github.com/repos/vlovgr/ciris/pulls{/number}","milestones_url":"https://api.github.com/repos/vlovgr/ciris/milestones{/number}","notifications_url":"https://api.github.com/repos/vlovgr/ciris/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vlovgr/ciris/labels{/name}","releases_url":"https://api.github.com/repos/vlovgr/ciris/releases{/id}","deployments_url":"https://api.github.com/repos/vlovgr/ciris/deployments","created_at":"2017-04-27T21:43:47Z","updated_at":"2018-06-17T19:33:58Z","pushed_at":"2018-06-18T07:27:48Z","git_url":"git://github.com/vlovgr/ciris.git","ssh_url":"git@github.com:vlovgr/ciris.git","clone_url":"https://github.com/vlovgr/ciris.git","svn_url":"https://github.com/vlovgr/ciris","homepage":"https://cir.is","size":4634,"stargazers_count":144,"watchers_count":144,"language":"Scala","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":15,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":15,"open_issues":2,"watchers":144,"default_branch":"master"}},"base":{"label":"vlovgr:master","ref":"master","sha":"50a0374781966b9654fde06c594e3585704aec09","user":{"login":"vlovgr","id":1163201,"node_id":"MDQ6VXNlcjExNjMyMDE=","avatar_url":"https://avatars1.githubusercontent.com/u/1163201?v=4","gravatar_id":"","url":"https://api.github.com/users/vlovgr","html_url":"https://github.com/vlovgr","followers_url":"https://api.github.com/users/vlovgr/followers","following_url":"https://api.github.com/users/vlovgr/following{/other_user}","gists_url":"https://api.github.com/users/vlovgr/gists{/gist_id}","starred_url":"https://api.github.com/users/vlovgr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlovgr/subscriptions","organizations_url":"https://api.github.com/users/vlovgr/orgs","repos_url":"https://api.github.com/users/vlovgr/repos","events_url":"https://api.github.com/users/vlovgr/events{/privacy}","received_events_url":"https://api.github.com/users/vlovgr/received_events","type":"User","site_admin":false},"repo":{"id":89642781,"node_id":"MDEwOlJlcG9zaXRvcnk4OTY0Mjc4MQ==","name":"ciris","full_name":"vlovgr/ciris","owner":{"login":"vlovgr","id":1163201,"node_id":"MDQ6VXNlcjExNjMyMDE=","avatar_url":"https://avatars1.githubusercontent.com/u/1163201?v=4","gravatar_id":"","url":"https://api.github.com/users/vlovgr","html_url":"https://github.com/vlovgr","followers_url":"https://api.github.com/users/vlovgr/followers","following_url":"https://api.github.com/users/vlovgr/following{/other_user}","gists_url":"https://api.github.com/users/vlovgr/gists{/gist_id}","starred_url":"https://api.github.com/users/vlovgr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlovgr/subscriptions","organizations_url":"https://api.github.com/users/vlovgr/orgs","repos_url":"https://api.github.com/users/vlovgr/repos","events_url":"https://api.github.com/users/vlovgr/events{/privacy}","received_events_url":"https://api.github.com/users/vlovgr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vlovgr/ciris","description":"Lightweight, extensible, and validated configuration loading in Scala","fork":false,"url":"https://api.github.com/repos/vlovgr/ciris","forks_url":"https://api.github.com/repos/vlovgr/ciris/forks","keys_url":"https://api.github.com/repos/vlovgr/ciris/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vlovgr/ciris/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vlovgr/ciris/teams","hooks_url":"https://api.github.com/repos/vlovgr/ciris/hooks","issue_events_url":"https://api.github.com/repos/vlovgr/ciris/issues/events{/number}","events_url":"https://api.github.com/repos/vlovgr/ciris/events","assignees_url":"https://api.github.com/repos/vlovgr/ciris/assignees{/user}","branches_url":"https://api.github.com/repos/vlovgr/ciris/branches{/branch}","tags_url":"https://api.github.com/repos/vlovgr/ciris/tags","blobs_url":"https://api.github.com/repos/vlovgr/ciris/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vlovgr/ciris/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vlovgr/ciris/git/refs{/sha}","trees_url":"https://api.github.com/repos/vlovgr/ciris/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vlovgr/ciris/statuses/{sha}","languages_url":"https://api.github.com/repos/vlovgr/ciris/languages","stargazers_url":"https://api.github.com/repos/vlovgr/ciris/stargazers","contributors_url":"https://api.github.com/repos/vlovgr/ciris/contributors","subscribers_url":"https://api.github.com/repos/vlovgr/ciris/subscribers","subscription_url":"https://api.github.com/repos/vlovgr/ciris/subscription","commits_url":"https://api.github.com/repos/vlovgr/ciris/commits{/sha}","git_commits_url":"https://api.github.com/repos/vlovgr/ciris/git/commits{/sha}","comments_url":"https://api.github.com/repos/vlovgr/ciris/comments{/number}","issue_comment_url":"https://api.github.com/repos/vlovgr/ciris/issues/comments{/number}","contents_url":"https://api.github.com/repos/vlovgr/ciris/contents/{+path}","compare_url":"https://api.github.com/repos/vlovgr/ciris/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vlovgr/ciris/merges","archive_url":"https://api.github.com/repos/vlovgr/ciris/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vlovgr/ciris/downloads","issues_url":"https://api.github.com/repos/vlovgr/ciris/issues{/number}","pulls_url":"https://api.github.com/repos/vlovgr/ciris/pulls{/number}","milestones_url":"https://api.github.com/repos/vlovgr/ciris/milestones{/number}","notifications_url":"https://api.github.com/repos/vlovgr/ciris/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vlovgr/ciris/labels{/name}","releases_url":"https://api.github.com/repos/vlovgr/ciris/releases{/id}","deployments_url":"https://api.github.com/repos/vlovgr/ciris/deployments","created_at":"2017-04-27T21:43:47Z","updated_at":"2018-06-17T19:33:58Z","pushed_at":"2018-06-18T07:27:48Z","git_url":"git://github.com/vlovgr/ciris.git","ssh_url":"git@github.com:vlovgr/ciris.git","clone_url":"https://github.com/vlovgr/ciris.git","svn_url":"https://github.com/vlovgr/ciris","homepage":"https://cir.is","size":4634,"stargazers_count":144,"watchers_count":144,"language":"Scala","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":15,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":15,"open_issues":2,"watchers":144,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vlovgr/ciris/pulls/153"},"html":{"href":"https://github.com/vlovgr/ciris/pull/153"},"issue":{"href":"https://api.github.com/repos/vlovgr/ciris/issues/153"},"comments":{"href":"https://api.github.com/repos/vlovgr/ciris/issues/153/comments"},"review_comments":{"href":"https://api.github.com/repos/vlovgr/ciris/pulls/153/comments"},"review_comment":{"href":"https://api.github.com/repos/vlovgr/ciris/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vlovgr/ciris/pulls/153/commits"},"statuses":{"href":"https://api.github.com/repos/vlovgr/ciris/statuses/6f73c0f6bb334d7fb0899c00bbe2a6115d023086"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":6,"deletions":4,"changed_files":2}}
{"actor":{"display_login":"vlovgr"}}