-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support raw methods for azure-storage-blob #441
Labels
enhancement
New feature or request
Comments
Hi. We have |
pi0
changed the title
azure-storage-blob
support raw methods for azure-storage-blob
May 8, 2024
getItem
prematurely calls .toString()
Will do thanks! refs ##142 |
8 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Any / All
Reproduction
https://github.com/unjs/unstorage/blob/main/src/drivers/azure-storage-blob.ts#L96
Describe the bug
Calling
.toString()
here is problematic, as thegetItem
function can longer be used with buffers.My suggestion would be to allow a type to be passed to the
getItem()
fn, or remove thetoString()
call and allow developers to call that manually, when they choose.Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: