Skip to content
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

Feature request: Provide custom options to driver #54

Open
daniel-samson opened this issue Dec 6, 2021 · 0 comments
Open

Feature request: Provide custom options to driver #54

daniel-samson opened this issue Dec 6, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@daniel-samson
Copy link
Owner

daniel-samson commented Dec 6, 2021

Is your feature request related to a problem? Please describe.

I would like to pass custom options to the driver so that It will pass them to the underlying package. Eg storing metadata in s3.

Describe the solution you'd like

I would like to change the disk driver api so that you can add options into the last parameter eg:

Storage.disk('s3').write('foo.txt', Buffer.from('...'), { metaData: { foo: bar });

Additional context

@daniel-samson daniel-samson added the enhancement New feature or request label Dec 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant