Skip to content

add support for custom adapter registration - #93

Open
immanuel192 wants to merge 1 commit into
scottwrobinson:masterfrom
immanuel192:master
Open

add support for custom adapter registration#93
immanuel192 wants to merge 1 commit into
scottwrobinson:masterfrom
immanuel192:master

Conversation

@immanuel192

Copy link
Copy Markdown

I would like to add functiontion to allow camo to register custom adapter. It means that I can develop my own adapter (such as CouchDB, PouchDB) without touching camo code.

Comment thread lib/db.js
let connect;
// We have custom adapter
if (_adapter) {
connect = NeDbClient.connect(url, options);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You probably mean _adapter.connect?

@jure

jure commented Aug 25, 2017

Copy link
Copy Markdown

Interesting, this would match our use case exactly. Would love to see this fleshed out a bit more. @immanuel192, did you make any additional progress on this?

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

Successfully merging this pull request may close these issues.

2 participants