You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: rename input parameters to flowInput and deps for clarity (#557)
# Rename input parameters in step handlers for better clarity
This PR renames the input parameters in step handlers to improve clarity and better reflect their purpose:
- Root steps (no dependencies) now use `flowInput` instead of `input.run` to directly access flow input
- Dependent steps now use `deps` instead of `input` to access outputs from dependency steps
- Context parameter is now consistently named `ctx` where used
These changes make the code more intuitive by:
1. Clearly distinguishing between flow input and dependency outputs
2. Using parameter names that better reflect their content
3. Maintaining consistent naming conventions throughout the codebase
The changes affect example code in the documentation as well as actual implementation code, ensuring consistency across the entire project.
0 commit comments