Skip to content
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.

Add backend as a configuration option #27

Open
avanderpluijm opened this issue Oct 30, 2017 · 0 comments
Open

Add backend as a configuration option #27

avanderpluijm opened this issue Oct 30, 2017 · 0 comments
Assignees

Comments

@avanderpluijm
Copy link

Since there is room for multiple backends, wouldn't it be nice to make this a configuration option?
So in getstream.js you would have:

exports.config = { backend: 'waterline', ... etc ... }

and then load the backend conditionally in https://github.com/GetStream/stream-node-orm/blob/master/src/index.js

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

No branches or pull requests

2 participants