Create Pouch Service#172
Conversation
|
This looks too restrictive. As a consumer I am managing several pouches, e.g. one local, one remote, sometimes a local memory-only pouch. I roll my own service that manages these pouches and updates the adapter's db as and when necessary. |
|
As shown by https://bloggr.exmer.com/ you need something like this and not sync to get it working. I agree with @akatov that we don't want restrictive code in ember-pouch. I need to write documentation but authentication can be done with https://github.com/martinic/ember-simple-auth-pouch Perhaps it is better to create ember-pouch-service but it still needs to be more flexible to support for instance the scenario above. |
Good day Nolanlawson,
This pull request for creating service for the initiated db and we can access it from anywhere.
Benefits:
Authentication access current db and add authentication code.
stop syncing or anything else.