You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Adam Kocoloski (JIRA)" <ji...@apache.org> on 2011/09/20 04:06:09 UTC

[jira] [Resolved] (COUCHDB-1292) "validate_doc_update": function(n,o,u){}

     [ https://issues.apache.org/jira/browse/COUCHDB-1292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Kocoloski resolved COUCHDB-1292.
-------------------------------------

    Resolution: Not A Problem

Hi Gert, the wiki is user-editable, no need for a commit bit.

> "validate_doc_update": function(n,o,u){}
> ----------------------------------------
>
>                 Key: COUCHDB-1292
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1292
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Database Core
>    Affects Versions: 1.2
>         Environment: linux
>            Reporter: gert cuykens
>            Priority: Trivial
>              Labels: couchdb
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Assign a function instead of a string to make validation handler consistent with the update handlers
> consistent => "updates": { "hello": function(d,r) {} }
> consistent => "validate_doc_update": function(n,o,u){}
> inconsistent => "validate_doc_update": "function(n,o,u){}"
> http://wiki.apache.org/couchdb/Document_Update_Handlers
> http://wiki.apache.org/couchdb/Document_Update_Validation

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira