Handle nested data objects in RemoteTool and ApiCallStep
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 188
- Forks
- 23
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 4
Description
Description:
Currently, the RemoteTool and ApiCallStep components in WayFlow accept a data parameter that is limited to simple data types. This limitation restricts the ability to pass complex data structures, such as nested dictionaries or lists, which are often necessary for advanced use cases. As a result, developers are forced to implement workarounds, leading to less efficient and harder-to-maintain code.
Steps to Reproduce:
- Attempt to pass a nested dictionary or list as the
dataparameter to aRemoteToolorApiCallStepinstance. - Observe that the component does not handle the complex data structure as expected, resulting in errors or unexpected behavior.
Expected Behavior:
The RemoteTool and ApiCallStep components should support complex data structures in the data parameter, allowing developers to pass nested dictionaries, lists, and other complex types without encountering errors.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the RemoteTool and ApiCallStep component definitions and the code handling their data parameters. Trace how nested dictionaries and lists are currently processed, then verify that both components accept these structures without errors or unexpected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100