{"action":"created","issue":{"url":"https://api.github.com/repos/strongloop/loopback-component-storage/issues/146","repository_url":"https://api.github.com/repos/strongloop/loopback-component-storage","labels_url":"https://api.github.com/repos/strongloop/loopback-component-storage/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback-component-storage/issues/146/comments","events_url":"https://api.github.com/repos/strongloop/loopback-component-storage/issues/146/events","html_url":"https://github.com/strongloop/loopback-component-storage/issues/146","id":172160267,"number":146,"title":"add field name into the getFilename file object","user":{"login":"hgouveia","id":668866,"avatar_url":"https://avatars.githubusercontent.com/u/668866?v=3","gravatar_id":"","url":"https://api.github.com/users/hgouveia","html_url":"https://github.com/hgouveia","followers_url":"https://api.github.com/users/hgouveia/followers","following_url":"https://api.github.com/users/hgouveia/following{/other_user}","gists_url":"https://api.github.com/users/hgouveia/gists{/gist_id}","starred_url":"https://api.github.com/users/hgouveia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hgouveia/subscriptions","organizations_url":"https://api.github.com/users/hgouveia/orgs","repos_url":"https://api.github.com/users/hgouveia/repos","events_url":"https://api.github.com/users/hgouveia/events{/privacy}","received_events_url":"https://api.github.com/users/hgouveia/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/strongloop/loopback-component-storage/labels/feature","name":"feature","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-19T15:40:56Z","updated_at":"2016-09-07T06:11:17Z","closed_at":null,"body":"would be very useful if the file object that is pass into getFilename, have the field name too, i really need to know this information to be able to name the file base of the field name, this is very fast to implement , just need  modified \r\n\r\n*lib/storage-handler.js:66*\r\nbefore:\r\n```\r\n    var file = {\r\n      container: container,\r\n      name: part.filename,\r\n      type: part.mime\r\n    };\r\n```\r\n\r\nafter\r\n\r\n```\r\n    var file = {\r\n      container: container,\r\n      name: part.filename,\r\n      type: part.mime,\r\n      field: part.name //new property\r\n    };\r\n\r\n```\r\n\r\ni also found this pull request : https://github.com/strongloop/loopback-component-storage/pull/121"},"comment":{"url":"https://api.github.com/repos/strongloop/loopback-component-storage/issues/comments/245184764","html_url":"https://github.com/strongloop/loopback-component-storage/issues/146#issuecomment-245184764","issue_url":"https://api.github.com/repos/strongloop/loopback-component-storage/issues/146","id":245184764,"user":{"login":"demsey2","id":3159367,"avatar_url":"https://avatars.githubusercontent.com/u/3159367?v=3","gravatar_id":"","url":"https://api.github.com/users/demsey2","html_url":"https://github.com/demsey2","followers_url":"https://api.github.com/users/demsey2/followers","following_url":"https://api.github.com/users/demsey2/following{/other_user}","gists_url":"https://api.github.com/users/demsey2/gists{/gist_id}","starred_url":"https://api.github.com/users/demsey2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demsey2/subscriptions","organizations_url":"https://api.github.com/users/demsey2/orgs","repos_url":"https://api.github.com/users/demsey2/repos","events_url":"https://api.github.com/users/demsey2/events{/privacy}","received_events_url":"https://api.github.com/users/demsey2/received_events","type":"User","site_admin":false},"created_at":"2016-09-07T06:11:17Z","updated_at":"2016-09-07T06:11:17Z","body":"hi @hgouveia any update on that PR"}}
{"actor":{"display_login":"demsey2"}}