laravel/ideas

merge in request data using dot notation

alirzaj opened this issue · 0 comments

today at work i needed to merge a key into an array that was on the request class. i was wondering if sth like this would be accepted if i make a PR:

$request->merge('arr.key','value')

this would override value of key in arr if it's not empty.