We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
evalHandler
Passing the context to evalHandler (contrary to its signature) makes the request parameter unreachable in the evaluated code.
mockserver/handlers/evalHandler.js
Line 1 in 39b3e8d
mockserver/mockserver.js
Line 84 in 39b3e8d
Line 110 in 39b3e8d
So the following doesn't work, since request has here the value of context instead:
request
context
#eval request.body;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Passing the context to
evalHandler
(contrary to its signature) makes the request parameter unreachable in the evaluated code.mockserver/handlers/evalHandler.js
Line 1 in 39b3e8d
mockserver/mockserver.js
Line 84 in 39b3e8d
mockserver/mockserver.js
Line 110 in 39b3e8d
So the following doesn't work, since
request
has here the value ofcontext
instead:The text was updated successfully, but these errors were encountered: