{"action":"created","issue":{"url":"https://api.github.com/repos/vert-x3/vertx-config/issues/43","repository_url":"https://api.github.com/repos/vert-x3/vertx-config","labels_url":"https://api.github.com/repos/vert-x3/vertx-config/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/vert-x3/vertx-config/issues/43/comments","events_url":"https://api.github.com/repos/vert-x3/vertx-config/issues/43/events","html_url":"https://github.com/vert-x3/vertx-config/issues/43","id":305546087,"number":43,"title":"store config docs appear out of date: `optional` property required on store config ?","user":{"login":"StephenOTT","id":1994838,"avatar_url":"https://avatars0.githubusercontent.com/u/1994838?v=4","gravatar_id":"","url":"https://api.github.com/users/StephenOTT","html_url":"https://github.com/StephenOTT","followers_url":"https://api.github.com/users/StephenOTT/followers","following_url":"https://api.github.com/users/StephenOTT/following{/other_user}","gists_url":"https://api.github.com/users/StephenOTT/gists{/gist_id}","starred_url":"https://api.github.com/users/StephenOTT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StephenOTT/subscriptions","organizations_url":"https://api.github.com/users/StephenOTT/orgs","repos_url":"https://api.github.com/users/StephenOTT/repos","events_url":"https://api.github.com/users/StephenOTT/events{/privacy}","received_events_url":"https://api.github.com/users/StephenOTT/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-15T13:09:57Z","updated_at":"2018-03-16T13:17:20Z","closed_at":null,"author_association":"NONE","body":"Working in JS with a YAML store,\r\n\r\nA store must currently be configured with the `optional` property or vertx throws a null pointer exception\r\n\r\n``` js\r\nvar yamlStore = {\r\n  \"type\" : \"file\",\r\n  \"format\" : \"yaml\",\r\n  \"config\" : {\r\n    \"path\" : yamlPath\r\n  },\r\n  \"optional\":false\r\n}\r\n```\r\n\r\nref: https://github.com/vert-x3/vertx-config/blob/master/vertx-config/src/main/java/io/vertx/config/ConfigStoreOptions.java#L49"},"comment":{"url":"https://api.github.com/repos/vert-x3/vertx-config/issues/comments/373710123","html_url":"https://github.com/vert-x3/vertx-config/issues/43#issuecomment-373710123","issue_url":"https://api.github.com/repos/vert-x3/vertx-config/issues/43","id":373710123,"user":{"login":"cescoffier","id":402301,"avatar_url":"https://avatars1.githubusercontent.com/u/402301?v=4","gravatar_id":"","url":"https://api.github.com/users/cescoffier","html_url":"https://github.com/cescoffier","followers_url":"https://api.github.com/users/cescoffier/followers","following_url":"https://api.github.com/users/cescoffier/following{/other_user}","gists_url":"https://api.github.com/users/cescoffier/gists{/gist_id}","starred_url":"https://api.github.com/users/cescoffier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cescoffier/subscriptions","organizations_url":"https://api.github.com/users/cescoffier/orgs","repos_url":"https://api.github.com/users/cescoffier/repos","events_url":"https://api.github.com/users/cescoffier/events{/privacy}","received_events_url":"https://api.github.com/users/cescoffier/received_events","type":"User","site_admin":false},"created_at":"2018-03-16T13:17:20Z","updated_at":"2018-03-16T13:17:20Z","author_association":"MEMBER","body":"Wow... yes. Definitely, something I should have mentioned in the list of breaking change. But, I believe it's somehow a bug too as optional should be false by default. "}}
{"actor":{"display_login":"cescoffier"}}