{"action":"created","issue":{"url":"https://api.github.com/repos/lightbend/config/issues/587","repository_url":"https://api.github.com/repos/lightbend/config","labels_url":"https://api.github.com/repos/lightbend/config/issues/587/labels{/name}","comments_url":"https://api.github.com/repos/lightbend/config/issues/587/comments","events_url":"https://api.github.com/repos/lightbend/config/issues/587/events","html_url":"https://github.com/lightbend/config/issues/587","id":359919725,"node_id":"MDU6SXNzdWUzNTk5MTk3MjU=","number":587,"title":"Add documentation for behavior of `include required(\"foo\")` syntax","user":{"login":"roschlau","id":16798225,"node_id":"MDQ6VXNlcjE2Nzk4MjI1","avatar_url":"https://avatars1.githubusercontent.com/u/16798225?v=4","gravatar_id":"","url":"https://api.github.com/users/roschlau","html_url":"https://github.com/roschlau","followers_url":"https://api.github.com/users/roschlau/followers","following_url":"https://api.github.com/users/roschlau/following{/other_user}","gists_url":"https://api.github.com/users/roschlau/gists{/gist_id}","starred_url":"https://api.github.com/users/roschlau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roschlau/subscriptions","organizations_url":"https://api.github.com/users/roschlau/orgs","repos_url":"https://api.github.com/users/roschlau/repos","events_url":"https://api.github.com/users/roschlau/events{/privacy}","received_events_url":"https://api.github.com/users/roschlau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-09-13T14:24:47Z","updated_at":"2018-09-13T15:58:46Z","closed_at":null,"author_association":"NONE","body":"I couldn't find any mention of the `include required(\"foo\")` syntax in the HOCON specification, I needed to dig through the discussion over on the corresponding issue #121, and even now I'm still confused as to intended behavior, since that issue states that a missing required config should throw an error, but when trying it with a minimal example, it seems to silently fail to load the whole config, and you only notice when the library reports a missing key, even if that key is not related to the missing config."},"comment":{"url":"https://api.github.com/repos/lightbend/config/issues/comments/421059282","html_url":"https://github.com/lightbend/config/issues/587#issuecomment-421059282","issue_url":"https://api.github.com/repos/lightbend/config/issues/587","id":421059282,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTA1OTI4Mg==","user":{"login":"roschlau","id":16798225,"node_id":"MDQ6VXNlcjE2Nzk4MjI1","avatar_url":"https://avatars1.githubusercontent.com/u/16798225?v=4","gravatar_id":"","url":"https://api.github.com/users/roschlau","html_url":"https://github.com/roschlau","followers_url":"https://api.github.com/users/roschlau/followers","following_url":"https://api.github.com/users/roschlau/following{/other_user}","gists_url":"https://api.github.com/users/roschlau/gists{/gist_id}","starred_url":"https://api.github.com/users/roschlau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roschlau/subscriptions","organizations_url":"https://api.github.com/users/roschlau/orgs","repos_url":"https://api.github.com/users/roschlau/repos","events_url":"https://api.github.com/users/roschlau/events{/privacy}","received_events_url":"https://api.github.com/users/roschlau/received_events","type":"User","site_admin":false},"created_at":"2018-09-13T15:58:46Z","updated_at":"2018-09-13T15:58:46Z","author_association":"NONE","body":"Just to clarify the impact of this, with the current implementation, using `required` is completely useless to me. With the current implementation, I'd rather use the standard include, because when it fails that will report a missing key from the missing file, so I'm already on the right track to find the actual problem. Whereas with the required include it will more than likely give me some unrelated key (because none of them work), and I'll have to go through the complete application config hoping to find the problem eventually.\r\n\r\nThat is unless there is a way to get logs from the library that tell me where parsing problems happened - is there something along those lines?"}}
{"actor":{"display_login":"roschlau"}}