couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Lehnardt (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-446) allow list function and view function to be in different design docs.
Date Tue, 04 Aug 2009 12:42:14 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12738954#action_12738954
] 

Jan Lehnardt commented on COUCHDB-446:
--------------------------------------

Mark can you use JSON.parse(xhr.responseText) instead of the regex matching in the tests?

More of a cosmetic remark: TEquals(expected, actual, testName); is preferred over T() (but
we're not strict about that)

Other than that, the patch looks good.

> allow list function and view function to be in different design docs.
> ---------------------------------------------------------------------
>
>                 Key: COUCHDB-446
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-446
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Database Core
>            Reporter: Mark Hammond
>             Fix For: 0.10
>
>         Attachments: x_doc_list.patch
>
>
> There has been some discussion on #couchdb how it might be desirable to use a list function
where the list and the view are in separate documents.  Among the use-cases is so a list and
view can use different languages.
> I'm attaching a patch which extends the URL syntax for list views - before my patch,
the last portion of the path must be a view name.  My patch allows for the existing behaviour,
or for the tail to be 2 elements - another design document name *and* the view name.  Includes
a test.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message