-
Notifications
You must be signed in to change notification settings - Fork 15
feat: make flowInput lazy-loaded to prevent data duplication in map steps #560
New issue
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
base: 12-24-add-changeset-and-news-for-assymetric-handlers
Are you sure you want to change the base?
Conversation
|
| Name | Type |
|---|---|
| @pgflow/core | Minor |
| @pgflow/dsl | Minor |
| @pgflow/client | Minor |
| @pgflow/edge-worker | Minor |
| pgflow | Minor |
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
|
View your CI Pipeline Execution ↗ for commit 878a4d1
☁️ Nx Cloud last updated this comment at |
85f08e5 to
1717e83
Compare
1717e83 to
878a4d1
Compare
🔍 Preview Deployment: Website✅ Deployment successful! 🔗 Preview URL: https://pr-560.pgflow.pages.dev 📝 Details:
_Last updated: _ |

Asymmetric Handler Signatures for Flow Composition
This PR implements asymmetric handler signatures to simplify flow composition and improve performance:
(flowInput, ctx) => ...(deps, ctx) => ...await ctx.flowInput(async/lazy-loaded)This change enables functional composition and simplifies types for future subflows by making handler signatures more intuitive and reducing unnecessary data duplication.