-
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
feat: make flowInput lazy-loaded to prevent data duplication in map steps #560
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
|
View your CI Pipeline Execution ↗ for commit b1954f6
☁️ Nx Cloud last updated this comment at |
85f08e5 to
1717e83
Compare
1717e83 to
878a4d1
Compare
9ea84a2 to
96b3847
Compare
878a4d1 to
7a1bc97
Compare
🔍 Preview Deployment: Website✅ Deployment successful! 🔗 Preview URL: https://pr-560.pgflow.pages.dev 📝 Details:
_Last updated: _ |
7a1bc97 to
b1954f6
Compare
🚀 Production Deployment: Website✅ Successfully deployed to production! 🔗 Production URL: https://pgflow.dev 📝 Details:
Deployed at: 2025-12-30T13:01:24+01:00 |

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.