The API docs for defaultIndex state the format of a custom function as fn(params, req), so either I'm misinterpreting the docs or it's missing req so that the actual call is just fn(params). This PR adds the req argument and a corresponding test. Thanks for your time!
The API docs for
defaultIndex
state the format of a custom function asfn(params, req)
, so either I'm misinterpreting the docs or it's missingreq
so that the actual call is justfn(params)
. This PR adds thereq
argument and a corresponding test. Thanks for your time!Notes: