{"action":"closed","issue":{"url":"https://api.github.com/repos/mozilla/node-convict/issues/65","labels_url":"https://api.github.com/repos/mozilla/node-convict/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/node-convict/issues/65/comments","events_url":"https://api.github.com/repos/mozilla/node-convict/issues/65/events","html_url":"https://github.com/mozilla/node-convict/issues/65","id":55456837,"number":65,"title":"Disallowing undeclared properties in configuration files","user":{"login":"umar-muneer","id":9190305,"avatar_url":"https://avatars.githubusercontent.com/u/9190305?v=3","gravatar_id":"","url":"https://api.github.com/users/umar-muneer","html_url":"https://github.com/umar-muneer","followers_url":"https://api.github.com/users/umar-muneer/followers","following_url":"https://api.github.com/users/umar-muneer/following{/other_user}","gists_url":"https://api.github.com/users/umar-muneer/gists{/gist_id}","starred_url":"https://api.github.com/users/umar-muneer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umar-muneer/subscriptions","organizations_url":"https://api.github.com/users/umar-muneer/orgs","repos_url":"https://api.github.com/users/umar-muneer/repos","events_url":"https://api.github.com/users/umar-muneer/events{/privacy}","received_events_url":"https://api.github.com/users/umar-muneer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-26T08:26:54Z","updated_at":"2015-06-18T18:53:20Z","closed_at":"2015-06-18T18:53:20Z","body":"So i compared the configuration schema for convict to a normal database schema. A table can only have columns that are declared in the schema and no additional ones. \r\n\r\nI think convict should have a strict validation mode, in which only those properties should be allowed to be declared in different config files(staging,dev,prod) which are declared in the schema.\r\n\r\nI have added a pull request doing just that. @zaach, Please review."}}