Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add custom filename on upload #8
I'm submitting a...
When uploading a file to Storage, we use the original filename.
When uploading a file to Storage, we can provide a custom filename.
What is the motivation / use case for changing the behavior?
Users might want to have a custom logic when it comes to filename, or an internal pattern naming convention...etc
We should easily change this line so it can accept an external filename https://github.com/nestjs/azure-storage/blob/master/lib/azure-storage.service.ts#L116
It turns out that we can already do this with the current implementation, here is how: