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

Support for design document update handlers? #34

Open
geekytime opened this issue Aug 7, 2015 · 4 comments
Open

Support for design document update handlers? #34

geekytime opened this issue Aug 7, 2015 · 4 comments

Comments

@geekytime
Copy link

Thanks for the great library. I've been looking for something like this for a while!

The docs clearly show that views are supported using addDoc, but it doesn't appear that updates functions are supported when I add design docs that have update handlers in them. We use update handlers to add simple timestamps to our docs. Am I doing something wrong, or is this feature just not supported yet.

Are update handlers a feature that you'd consider supporting, if they don't work already?

@chris-l
Copy link
Owner

chris-l commented Aug 8, 2015

Yes, you are right. This is something Mock-Couch is currently missing and that is important to have. I have started to work on this, so I hope is going to be ready soon.

@0x1mason
Copy link

+1

@sagivmalihi
Copy link

Also in need of this feature. Can I help maybe?

@0x1mason
Copy link

I ended up wrapping PouchDb. A similar approach would take a lot of the implementation pressure off and just allow you to focus in the API.

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

4 participants