{"action":"opened","issue":{"url":"https://api.github.com/repos/TechnologyAdvice/obey/issues/35","repository_url":"https://api.github.com/repos/TechnologyAdvice/obey","labels_url":"https://api.github.com/repos/TechnologyAdvice/obey/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/TechnologyAdvice/obey/issues/35/comments","events_url":"https://api.github.com/repos/TechnologyAdvice/obey/issues/35/events","html_url":"https://github.com/TechnologyAdvice/obey/issues/35","id":141653252,"number":35,"title":"Bypass default type check if allow: null exists","user":{"login":"psvet","id":7945073,"avatar_url":"https://avatars.githubusercontent.com/u/7945073?v=3","gravatar_id":"","url":"https://api.github.com/users/psvet","html_url":"https://github.com/psvet","followers_url":"https://api.github.com/users/psvet/followers","following_url":"https://api.github.com/users/psvet/following{/other_user}","gists_url":"https://api.github.com/users/psvet/gists{/gist_id}","starred_url":"https://api.github.com/users/psvet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psvet/subscriptions","organizations_url":"https://api.github.com/users/psvet/orgs","repos_url":"https://api.github.com/users/psvet/repos","events_url":"https://api.github.com/users/psvet/events{/privacy}","received_events_url":"https://api.github.com/users/psvet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"psvet","id":7945073,"avatar_url":"https://avatars.githubusercontent.com/u/7945073?v=3","gravatar_id":"","url":"https://api.github.com/users/psvet","html_url":"https://github.com/psvet","followers_url":"https://api.github.com/users/psvet/followers","following_url":"https://api.github.com/users/psvet/following{/other_user}","gists_url":"https://api.github.com/users/psvet/gists{/gist_id}","starred_url":"https://api.github.com/users/psvet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psvet/subscriptions","organizations_url":"https://api.github.com/users/psvet/orgs","repos_url":"https://api.github.com/users/psvet/repos","events_url":"https://api.github.com/users/psvet/events{/privacy}","received_events_url":"https://api.github.com/users/psvet/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/TechnologyAdvice/obey/milestones/5","html_url":"https://github.com/TechnologyAdvice/obey/milestones/Convert%20hubs%20to%20Obey","labels_url":"https://api.github.com/repos/TechnologyAdvice/obey/milestones/5/labels","id":1651858,"number":5,"title":"Convert hubs to Obey","description":null,"creator":{"login":"psvet","id":7945073,"avatar_url":"https://avatars.githubusercontent.com/u/7945073?v=3","gravatar_id":"","url":"https://api.github.com/users/psvet","html_url":"https://github.com/psvet","followers_url":"https://api.github.com/users/psvet/followers","following_url":"https://api.github.com/users/psvet/following{/other_user}","gists_url":"https://api.github.com/users/psvet/gists{/gist_id}","starred_url":"https://api.github.com/users/psvet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psvet/subscriptions","organizations_url":"https://api.github.com/users/psvet/orgs","repos_url":"https://api.github.com/users/psvet/repos","events_url":"https://api.github.com/users/psvet/events{/privacy}","received_events_url":"https://api.github.com/users/psvet/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2016-03-17T17:34:25Z","updated_at":"2016-03-17T17:34:25Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-03-17T17:34:25Z","updated_at":"2016-03-17T17:34:25Z","closed_at":null,"body":"We have a number of fields (mostly timestamps) that should allow a `null` value, but because they're specified as `type: 'number'` in the obey models, they throw validation errors. The current work-around is including a custom type for every field that accepts `null` along with its main type, but if `allow: null` is passed, the default type check should be bypassed."}}