Support-13110: Fix function evaluation in user parameters#203
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR fixes function evaluation in user parameters by ensuring that functions defined in configuration parameters are properly evaluated before being used in API requests. The changes enable the evaluation of nested functions (like concat) within both request parameters and URL construction.
- Adds function evaluation to request parameters before building request content
- Implements function evaluation for URL construction parameters
- Updates Node.js version in Docker configuration
- Adds comprehensive test case for parameter function evaluation
Reviewed Changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| python-sync-actions/src/configuration.py | Adds function evaluation to endpoint parameters before request content building |
| python-sync-actions/src/component.py | Implements function evaluation for URL building parameters and adds null safety |
| python-sync-actions/tests/calls/011-params-func-eval/ | Test files demonstrating function evaluation in parameters |
| python-sync-actions/tests/calls/010-default-header/config.json | Updates authorization header to use function evaluation |
| Dockerfile | Updates Node.js version from v22.10.0 to v22.19.0 |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
soustruh
left a comment
There was a problem hiding this comment.
Everything seems OK, please just remove the redundant structure from the tests configuration… 😇
| } | ||
| ], | ||
| "test": "test-value", | ||
| "concat": { |
There was a problem hiding this comment.
Accidentally left duplicate object… 🤷♂️
soustruh
left a comment
There was a problem hiding this comment.
Thanks for the change 🌞
No description provided.