You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2021/03/31 15:38:10 UTC
[GitHub] [couchdb] rnewson commented on a change in pull request #3481: Validate ddoc uses couch_eval
rnewson commented on a change in pull request #3481:
URL: https://github.com/apache/couchdb/pull/3481#discussion_r605004027
##########
File path: src/couch/src/couch_db.erl
##########
@@ -895,7 +895,7 @@ validate_doc_update(Db, Doc, GetDiskDocFun) ->
validate_ddoc(Db, DDoc) ->
try
- ok = couch_index_server:validate(Db, couch_doc:with_ejson_body(DDoc))
+ ok = couch_mrview:validate(Db, couch_doc:with_ejson_body(DDoc))
Review comment:
isn't this a layering violation? the index/mrview split was intended to make the m/r view a specific kind of index
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org