However, reqeust's json wasn't changed, even if requestParams was changed.
In here, requestParams is overwritten after running beforeRequest hook. This change was introduced in this commit, but I can't understand what your intention is.
If I define the customized value in context.vars, I can change the request's json. I think the document should be updated. But I wanna use the device as JSON rather than stringified one.
In here,
device
is JSON, but the request stringifies it. So, I want to customizedevice
inbeforeRequest
hook.As the document,
requestParams
object is for it.However, reqeust's json wasn't changed, even if
requestParams
was changed.In here,
requestParams
is overwritten after runningbeforeRequest
hook. This change was introduced in this commit, but I can't understand what your intention is.requestParams
looks useless in the hook.