Github user rnewson commented on a diff in the pull request:

    https://github.com/apache/couchdb-couch-mrview/pull/30#discussion_r40327263
  
    --- Diff: src/couch_mrview.erl ---
    @@ -52,24 +52,31 @@
     %% In the most common case name is the view name and
     %% value is an object that must have a "map" function,
     %% and an optional "reduce" function. "map" and "reduce"
    -%% values should be strings (function contents).
    +%% values should be strings (function contents), except
    +%% in case when langauge is <<query>> then maps must
    +%% be objects.
     %%
     %% "lib" is a special case. The value
     %% of "lib" is an object that will contain libary code
     %% so it not validated.
     %%
    -validate_view(<<"lib">>, {_Libs})->
    +validate_view(<<"lib">>, {_Libs}, _)->
    --- End diff --
    
    say `_Language` for clarity.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to