MDSLKTR / pouch-vue

Pouchdb bindings for Vue.js
MIT License
90 stars 17 forks source link

Missing method #7

Closed kl3sk closed 5 years ago

kl3sk commented 5 years ago

pouchdb-authentication provide a putUser method. Becaus you provide some method related to authentication why i didn't find this method ?

Is it possible to implement it ?

MDSLKTR commented 5 years ago

Hey, this is a fair question. This plugin so far only provides a selected few methods from pouch-authentification since when creating the plugin, I didn't need all the functionality. Therefore putUser is not included. So this would need to be added in the future. I won't have the time for doing this in the near future though. So PRs are always welcome or you should be able to access your database instance in vm.$databases[yourDBName] and call putUser from there.

kl3sk commented 5 years ago

Hey I'am glad to see an answer so quickly. For sure I had a workaround but this is not convenient.

Ok I can propose a PR if you stay tune to it and merge it if it is ok for your, as soon as possible.

MDSLKTR commented 5 years ago

Hey again, I'll gladly merge your PR asap and thanks for taking the time!

kl3sk commented 5 years ago

@see https://github.com/MDSLKTR/pouch-vue/pull/8

MDSLKTR commented 5 years ago

Released as 0.1.37, thank you!