You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It also may worth adding another custom body param similar to qs, which adds additional body params.
Object.assign(req.qs, opts.qs)
// New
Object.assign(req.body, opts.body)
Steps to Reproduce (for bugs)
It should be straightforward to reproduce, but I can add exact steps if needed.
Context
I was trying to fetch few fields from https://replicate.npmjs.com, but I didn't need all extra fields as versions, because it noticeably slows the script down and increases network consumption.
Expected Behavior
The CouchDB documentation describes that it is possible to provide _selector for
_chages
handlerThe documentation also describes that selector can contain a list of specified fields to filter.
Current Behavior
Right now it is only possible to provide the
selector
parameter, but not thefields
parameter. LinkPossible Solution
Locally I've fixed it just by adding another parameter. It can be something like this:
It also may worth adding another custom
body
param similar toqs
, which adds additional body params.Steps to Reproduce (for bugs)
It should be straightforward to reproduce, but I can add exact steps if needed.
Context
I was trying to fetch few fields from https://replicate.npmjs.com, but I didn't need all extra fields as versions, because it noticeably slows the script down and increases network consumption.
More context
Your Environment
"nano": "^9.0.3",
The text was updated successfully, but these errors were encountered: