{"action":"opened","issue":{"url":"https://api.github.com/repos/fewagency/laravel-reformulator/issues/2","repository_url":"https://api.github.com/repos/fewagency/laravel-reformulator","labels_url":"https://api.github.com/repos/fewagency/laravel-reformulator/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/fewagency/laravel-reformulator/issues/2/comments","events_url":"https://api.github.com/repos/fewagency/laravel-reformulator/issues/2/events","html_url":"https://github.com/fewagency/laravel-reformulator/issues/2","id":201799829,"number":2,"title":"Suggestion: use the new Laravel 5.4 TransformsRequest middleware","user":{"login":"bjuppa","id":5339269,"avatar_url":"https://avatars.githubusercontent.com/u/5339269?v=3","gravatar_id":"","url":"https://api.github.com/users/bjuppa","html_url":"https://github.com/bjuppa","followers_url":"https://api.github.com/users/bjuppa/followers","following_url":"https://api.github.com/users/bjuppa/following{/other_user}","gists_url":"https://api.github.com/users/bjuppa/gists{/gist_id}","starred_url":"https://api.github.com/users/bjuppa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjuppa/subscriptions","organizations_url":"https://api.github.com/users/bjuppa/orgs","repos_url":"https://api.github.com/users/bjuppa/repos","events_url":"https://api.github.com/users/bjuppa/events{/privacy}","received_events_url":"https://api.github.com/users/bjuppa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-19T09:03:10Z","updated_at":"2017-01-19T09:03:10Z","closed_at":null,"body":"Laravel will release with middleware for trimming input and converting empty strings to null!\r\nhttps://laravel-news.com/laravel-5-4-middleware\r\n\r\nThat solution for actually modifying parameters in the request object is of course more elegant than the one here in [`ModifiesRequestInputTrait`](https://github.com/fewagency/laravel-reformulator/blob/master/src/Support/ModifiesRequestInputTrait.php).\r\n\r\nInvestigate if our middleware can extend [`TransformsRequest`](https://github.com/laravel/framework/blob/master/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php), or clean up the code using a similar pattern."}}
{"actor":{"display_login":"bjuppa"}}