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

add support for custom adapter registration #93

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

immanuel192
Copy link

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.

// We have custom adapter
if (_adapter) {
connect = NeDbClient.connect(url, options);
Copy link

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
Copy link

jure commented Aug 25, 2017

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