Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-1292

"validate_doc_update": function(n,o,u){}

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Not A Problem
    • Affects Version/s: 1.2
    • Fix Version/s: None
    • Component/s: Database Core
    • Labels:
    • Environment:

      linux

    • Skill Level:
      New Contributors Level (Easy)

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gert gert cuykens
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified