You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation of SDK does not allow using a Stream instead of a FileStream to upload assets using AssetService.
The AssetService itself does nothing with the FileStream input parameter and passes it to the FileUploader, which expects the basic Stream type as input.
This functionality is very necessary when using SDK in clouds for serverless applications, when there are limits on available disk space. To use the FileStream, you must have the file directly on the disk.
The SDK is also designed in such a way that it is not possible to expand functionality of BynderClient/AssetService or use a FileUploader separately for uploading assets.
I'm suggesting a potential small change that I've already submitted as a pull request - #104.
Thanks in advance for your attention.
The text was updated successfully, but these errors were encountered:
The current implementation of SDK does not allow using a
Stream
instead of aFileStream
to upload assets usingAssetService
.The
AssetService
itself does nothing with theFileStream
input parameter and passes it to theFileUploader
, which expects the basicStream
type as input.This functionality is very necessary when using SDK in clouds for serverless applications, when there are limits on available disk space. To use the
FileStream
, you must have the file directly on the disk.The SDK is also designed in such a way that it is not possible to expand functionality of
BynderClient
/AssetService
or use aFileUploader
separately for uploading assets.I'm suggesting a potential small change that I've already submitted as a pull request - #104.
Thanks in advance for your attention.
The text was updated successfully, but these errors were encountered: