Closed
Description
Describe the bug
When using variable names containing hyphens, executing a call does not succeed anymore due to an io.jetclient.exception.ExpressionEvaluationException
.
The complete error displayed in the UI is:
Unresolved expressions: user-agent (io.jetclient.exception.ExpressionEvaluationException: Cannot evaluate binary operation with non-evaluated operands)
Autocompleting the variable in the input field still works as expected.
Steps to reproduce
- Create a global variable with a hyphen ( e.g. user-agent )
- Use this variable inside an http request header ( e.g. {{user-agent}} )
- Error occurs.
Expected behavior
The error should not occur and the call should be successful as always was the case in previous versions of JetClient.
Environment information:
- OS: Windows
- IDE version: 2024.3 Build #IU-243.21565.193
- plugin version: 2024.3.19-243