{"action":"created","issue":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/1500","labels_url":"https://api.github.com/repos/sequelize/sequelize/issues/1500/labels{/name}","comments_url":"https://api.github.com/repos/sequelize/sequelize/issues/1500/comments","events_url":"https://api.github.com/repos/sequelize/sequelize/issues/1500/events","html_url":"https://github.com/sequelize/sequelize/issues/1500","id":29337250,"number":1500,"title":"customizable allowNull error messages","user":{"login":"cjroth","id":582130,"avatar_url":"https://avatars.githubusercontent.com/u/582130?v=3","gravatar_id":"","url":"https://api.github.com/users/cjroth","html_url":"https://github.com/cjroth","followers_url":"https://api.github.com/users/cjroth/followers","following_url":"https://api.github.com/users/cjroth/following{/other_user}","gists_url":"https://api.github.com/users/cjroth/gists{/gist_id}","starred_url":"https://api.github.com/users/cjroth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjroth/subscriptions","organizations_url":"https://api.github.com/users/cjroth/orgs","repos_url":"https://api.github.com/users/cjroth/repos","events_url":"https://api.github.com/users/cjroth/events{/privacy}","received_events_url":"https://api.github.com/users/cjroth/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sequelize/sequelize/labels/feature","name":"feature","color":"0b02e1"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2014-03-13T09:50:25Z","updated_at":"2015-02-16T10:26:35Z","closed_at":null,"body":"something like this:\r\n\r\n```\r\n  var User = sequelize.define('User', {\r\n    'email': {\r\n      type: DataTypes.STRING,\r\n      unique: true,\r\n      allowNull: { args: false, msg: 'Email is required.' },\r\n      validate: { isEmail: { msg: 'Invalid email.' } },\r\n    },\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/comments/74487317","html_url":"https://github.com/sequelize/sequelize/issues/1500#issuecomment-74487317","issue_url":"https://api.github.com/repos/sequelize/sequelize/issues/1500","id":74487317,"user":{"login":"epsyan","id":3391835,"avatar_url":"https://avatars.githubusercontent.com/u/3391835?v=3","gravatar_id":"","url":"https://api.github.com/users/epsyan","html_url":"https://github.com/epsyan","followers_url":"https://api.github.com/users/epsyan/followers","following_url":"https://api.github.com/users/epsyan/following{/other_user}","gists_url":"https://api.github.com/users/epsyan/gists{/gist_id}","starred_url":"https://api.github.com/users/epsyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epsyan/subscriptions","organizations_url":"https://api.github.com/users/epsyan/orgs","repos_url":"https://api.github.com/users/epsyan/repos","events_url":"https://api.github.com/users/epsyan/events{/privacy}","received_events_url":"https://api.github.com/users/epsyan/received_events","type":"User","site_admin":false},"created_at":"2015-02-16T10:26:35Z","updated_at":"2015-02-16T10:26:35Z","body":"@mickhansen, +1"}}