{"action":"created","issue":{"url":"https://api.github.com/repos/laravel-shift/blueprint/issues/19","repository_url":"https://api.github.com/repos/laravel-shift/blueprint","labels_url":"https://api.github.com/repos/laravel-shift/blueprint/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/laravel-shift/blueprint/issues/19/comments","events_url":"https://api.github.com/repos/laravel-shift/blueprint/issues/19/events","html_url":"https://github.com/laravel-shift/blueprint/pull/19","id":523899490,"node_id":"MDExOlB1bGxSZXF1ZXN0MzQxNzk0Mzc4","number":19,"title":"Adds various validation rules based on column name and dataType","user":{"login":"marksalmon","id":7000886,"node_id":"MDQ6VXNlcjcwMDA4ODY=","avatar_url":"https://avatars2.githubusercontent.com/u/7000886?v=4","gravatar_id":"","url":"https://api.github.com/users/marksalmon","html_url":"https://github.com/marksalmon","followers_url":"https://api.github.com/users/marksalmon/followers","following_url":"https://api.github.com/users/marksalmon/following{/other_user}","gists_url":"https://api.github.com/users/marksalmon/gists{/gist_id}","starred_url":"https://api.github.com/users/marksalmon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marksalmon/subscriptions","organizations_url":"https://api.github.com/users/marksalmon/orgs","repos_url":"https://api.github.com/users/marksalmon/repos","events_url":"https://api.github.com/users/marksalmon/events{/privacy}","received_events_url":"https://api.github.com/users/marksalmon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2019-11-16T21:40:05Z","updated_at":"2019-11-18T18:48:05Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/laravel-shift/blueprint/pulls/19","html_url":"https://github.com/laravel-shift/blueprint/pull/19","diff_url":"https://github.com/laravel-shift/blueprint/pull/19.diff","patch_url":"https://github.com/laravel-shift/blueprint/pull/19.patch"},"body":"- if the dataType is string and the column name starts with 'email', the ```string``` rule gets replaced with the ```email``` rule\r\n- if the dataType is string and the column name is 'password', the ```string``` rule gets replaced with the ```password``` rule\r\n- If the dataType is numeric the ```numeric``` rule is added. If the dataType is unsigned, ```gt:0``` is also added\r\n- added `in:` rule with attributes for enums and sets\r\n- added `date` rule for dataTypes date, datetime and datetimetz\r\n\r\nIssue #17 \r\n\r\nThanks JMac, Loving the streams"},"comment":{"url":"https://api.github.com/repos/laravel-shift/blueprint/issues/comments/555154824","html_url":"https://github.com/laravel-shift/blueprint/pull/19#issuecomment-555154824","issue_url":"https://api.github.com/repos/laravel-shift/blueprint/issues/19","id":555154824,"node_id":"MDEyOklzc3VlQ29tbWVudDU1NTE1NDgyNA==","user":{"login":"jasonmccreary","id":161071,"node_id":"MDQ6VXNlcjE2MTA3MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/161071?v=4","gravatar_id":"","url":"https://api.github.com/users/jasonmccreary","html_url":"https://github.com/jasonmccreary","followers_url":"https://api.github.com/users/jasonmccreary/followers","following_url":"https://api.github.com/users/jasonmccreary/following{/other_user}","gists_url":"https://api.github.com/users/jasonmccreary/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonmccreary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonmccreary/subscriptions","organizations_url":"https://api.github.com/users/jasonmccreary/orgs","repos_url":"https://api.github.com/users/jasonmccreary/repos","events_url":"https://api.github.com/users/jasonmccreary/events{/privacy}","received_events_url":"https://api.github.com/users/jasonmccreary/received_events","type":"User","site_admin":false},"created_at":"2019-11-18T18:48:05Z","updated_at":"2019-11-18T18:48:05Z","author_association":"COLLABORATOR","body":"Not sure how to push changes directly to this PR. So I am going to merge it as is since the `controller-lexer` branch has not been merged/tagged yet anyway."}}
{"actor":{"display_login":"jasonmccreary"}}