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

Custom storage provider #178

Open
eidermaen opened this issue Apr 13, 2023 · 0 comments
Open

Custom storage provider #178

eidermaen opened this issue Apr 13, 2023 · 0 comments

Comments

@eidermaen
Copy link

Is it possible to define some custom storage provider, so that the data is not stored in some local file?
In my setup there is some external storage where data can be stored but this one is just a plain JS object storage with no validation etc. That's why I would like to use this library here to have the following:

  • Basically all features of this library including schema validation, migrations, etc.
  • Additionally: Custom provider so that for example when calling conf.set the data is not written to a local file but that I can customize the behavior and then call at this point this external storage api. Same for when calling conf.get I want to retrieve the data from the external storage.

Is this somehow possible with this library? If not, might there be an alternative library or is it imaginable that this library is extended by the possibility of custom providers?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant