bessbd opened a new pull request #585:
URL: https://github.com/apache/couchdb-documentation/pull/585


   ## Overview
   
   The docs for `stale` in views don't match the current behavior of the 
software.
   This PR fixes that issue by removing `false` from the available options from 
`stale` for views.
   
   Mind that, the "default value" (`false`) for `stale` can no longer be 
expressed explicitly.
   
   ## Testing recommendations
   ```python3
   
print(requests.get(f"http://127.0.0.1:15984/{db_name}/_all_docs?stale=false";, 
auth=('adm', 'pass')).json())
   ```
   results in
   `{'error': 'query_parse_error', 'reason': 'Invalid value for `stale`.'}`
   
   ## GitHub issue number
   
   
   ## Related Pull Requests
   
   This is a follow-up PR for https://github.com/apache/couchdb/pull/3120 .
   
   ## Checklist
   
   - [ ] Update 
[rebar.config.script](https://github.com/apache/couchdb/blob/master/rebar.config.script)
 with the commit hash once this PR is rebased and merged
   <!-- Before opening the PR, consider running `make check` locally for a 
faster turnaround time -->
   


----------------------------------------------------------------
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:
[email protected]


Reply via email to