Closed
Description
export-mike
Hi I've been using nano and cradle and both libraries seem to have this problem,
possibly this change should be fixed in couchdb.
Have you encountered this issue before? How else could it be fixed?
export-mike
update from @janl flatiron/cradle#306 (comment)
chirsfosterelli
For what it's worth, we've dealt with that by doing this:
const validate = function(newDoc, savedDoc, userCtx) {
// Content here
}.toString()
This results in validate being a stringified function that can be passed to Nano, and babel will not name it.
Metadata
Metadata
Assignees
Labels
No labels