rnewson commented on issue #820: Add support for queries in /{db}/_all_docs POST
URL: https://github.com/apache/couchdb/issues/820#issuecomment-363792162
 
 
   Makes sense. 
   
   If we do this, let?s add it for _view also. We can leave the dual support 
for _view itself for backward compatibility. 
   
   Sent from my iPhone
   
   > On 7 Feb 2018, at 13:08, Rich Ellis <[email protected]> wrote:
   > 
   > @chewbranca
   > Yes, I'm aware of the support already existing in the _view API and if 
people want to match that behaviour I can live with it. I just thought it might 
be better to stem the flow of APIs not describable by OpenAPI if we can.
   > 
   > @rnewson
   > The difference is in making something that could be described by the 
OpenAPI specification where the response schema is limited to being varied by 
the path or by the content-type - not other headers, query parameters, or body 
content.
   > 
   > Whilst a custom Content-type like x-vnd.couchdb.view would allow for 
different response schemas the downside would be missing out on automatic 
handling provided by using application/json (e.g. in auto-generated 
documentation with HTTP examples).
   > 
   > ?
   > You are receiving this because you were mentioned.
   > Reply to this email directly, view it on GitHub, or mute the thread.
   > 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to