{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/12390","repository_url":"https://api.github.com/repos/laravel/framework","labels_url":"https://api.github.com/repos/laravel/framework/issues/12390/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/12390/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/12390/events","html_url":"https://github.com/laravel/framework/issues/12390","id":135059014,"number":12390,"title":"isDirty() false positive with boolean fields","user":{"login":"kamui545","id":356978,"avatar_url":"https://avatars.githubusercontent.com/u/356978?v=3","gravatar_id":"","url":"https://api.github.com/users/kamui545","html_url":"https://github.com/kamui545","followers_url":"https://api.github.com/users/kamui545/followers","following_url":"https://api.github.com/users/kamui545/following{/other_user}","gists_url":"https://api.github.com/users/kamui545/gists{/gist_id}","starred_url":"https://api.github.com/users/kamui545/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamui545/subscriptions","organizations_url":"https://api.github.com/users/kamui545/orgs","repos_url":"https://api.github.com/users/kamui545/repos","events_url":"https://api.github.com/users/kamui545/events{/privacy}","received_events_url":"https://api.github.com/users/kamui545/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-02-20T10:39:05Z","updated_at":"2016-09-01T13:11:55Z","closed_at":"2016-02-20T10:50:40Z","body":"isDirty() is returning true even if nothing changed.\r\n\r\n# How to reproduce\r\n\r\n```\r\n$user = User::find(1);\r\n\r\nvar_dump($user->locked); // false\r\nvar_dump($user->isDirty('locked')); // false\r\n\r\n$user->locked = false;\r\n\r\nvar_dump($user->locked); // false\r\nvar_dump($user->isDirty('locked')); // true, should be false\r\n```"},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/244073940","html_url":"https://github.com/laravel/framework/issues/12390#issuecomment-244073940","issue_url":"https://api.github.com/repos/laravel/framework/issues/12390","id":244073940,"user":{"login":"kamui545","id":356978,"avatar_url":"https://avatars.githubusercontent.com/u/356978?v=3","gravatar_id":"","url":"https://api.github.com/users/kamui545","html_url":"https://github.com/kamui545","followers_url":"https://api.github.com/users/kamui545/followers","following_url":"https://api.github.com/users/kamui545/following{/other_user}","gists_url":"https://api.github.com/users/kamui545/gists{/gist_id}","starred_url":"https://api.github.com/users/kamui545/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamui545/subscriptions","organizations_url":"https://api.github.com/users/kamui545/orgs","repos_url":"https://api.github.com/users/kamui545/repos","events_url":"https://api.github.com/users/kamui545/events{/privacy}","received_events_url":"https://api.github.com/users/kamui545/received_events","type":"User","site_admin":false},"created_at":"2016-09-01T13:11:55Z","updated_at":"2016-09-01T13:11:55Z","body":"Try with this filter https://github.com/laravel/framework/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aopen%20cast\r\n\r\nIt's not only about the boolean but casting in general: dates, etc..."}}
{"actor":{"display_login":"kamui545"}}