{"action":"created","issue":{"url":"https://api.github.com/repos/json-schema-faker/json-schema-faker/issues/83","labels_url":"https://api.github.com/repos/json-schema-faker/json-schema-faker/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/json-schema-faker/json-schema-faker/issues/83/comments","events_url":"https://api.github.com/repos/json-schema-faker/json-schema-faker/issues/83/events","html_url":"https://github.com/json-schema-faker/json-schema-faker/issues/83","id":119967793,"number":83,"title":"Gracefully handle unrecognised types","user":{"login":"XVincentX","id":1416224,"avatar_url":"https://avatars.githubusercontent.com/u/1416224?v=3","gravatar_id":"","url":"https://api.github.com/users/XVincentX","html_url":"https://github.com/XVincentX","followers_url":"https://api.github.com/users/XVincentX/followers","following_url":"https://api.github.com/users/XVincentX/following{/other_user}","gists_url":"https://api.github.com/users/XVincentX/gists{/gist_id}","starred_url":"https://api.github.com/users/XVincentX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XVincentX/subscriptions","organizations_url":"https://api.github.com/users/XVincentX/orgs","repos_url":"https://api.github.com/users/XVincentX/repos","events_url":"https://api.github.com/users/XVincentX/events{/privacy}","received_events_url":"https://api.github.com/users/XVincentX/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-02T15:33:31Z","updated_at":"2015-12-04T18:06:20Z","closed_at":null,"body":"Hello!\r\nFirst of all, thanks a lot for the great library.\r\n\r\nDuring our usage, we're dealing with some schemas which have an unrecognised `type`, such as `customStructure` and so on.\r\n\r\nActually faker throws an exception, as you can see here.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1416224/11535031/4999867c-9912-11e5-974e-02f085316a57.png)\r\n\r\nIt would be great if it could gracefully handle the situation like an empty string, or a default provided value, or skipping the field at all.\r\n\r\nWould you be interested in a PR fixing this thing? Which approach do you think would be the best one?\r\nCheers!"},"comment":{"url":"https://api.github.com/repos/json-schema-faker/json-schema-faker/issues/comments/162037294","html_url":"https://github.com/json-schema-faker/json-schema-faker/issues/83#issuecomment-162037294","issue_url":"https://api.github.com/repos/json-schema-faker/json-schema-faker/issues/83","id":162037294,"user":{"login":"pateketrueke","id":206371,"avatar_url":"https://avatars.githubusercontent.com/u/206371?v=3","gravatar_id":"","url":"https://api.github.com/users/pateketrueke","html_url":"https://github.com/pateketrueke","followers_url":"https://api.github.com/users/pateketrueke/followers","following_url":"https://api.github.com/users/pateketrueke/following{/other_user}","gists_url":"https://api.github.com/users/pateketrueke/gists{/gist_id}","starred_url":"https://api.github.com/users/pateketrueke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pateketrueke/subscriptions","organizations_url":"https://api.github.com/users/pateketrueke/orgs","repos_url":"https://api.github.com/users/pateketrueke/repos","events_url":"https://api.github.com/users/pateketrueke/events{/privacy}","received_events_url":"https://api.github.com/users/pateketrueke/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T18:06:20Z","updated_at":"2015-12-04T18:06:20Z","body":"Actually jsf will fail on unrecognized types: there is no support for extending what is built-in.\r\n\r\nThis behavior is not an exception, we could easily add some aliasing for fallback without throwing errors.\r\n\r\nI thought both issues are related because jsf has no support for these options."}}