Skip to content
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

Flow id #7

Merged
merged 3 commits into from
Aug 11, 2023
Merged

Flow id #7

merged 3 commits into from
Aug 11, 2023

Conversation

eliekarouz
Copy link
Owner

Added the concept of flow id that would allow to identify a flow per input.

When context.renderChild is called, the childFlow is started with the provided input if the childFlow.id(input) is not already started. Otherwise, the childFlow is resumed.

The id will also remove the dependency on reflection to identify the Flow id when rendering children.

…input.

When context.renderChild is called, the `childFlow` is started with provided `input` if the `childFlow.id(input)` is not already started. Otherwise, the flow is resumed.

Moved the ViewModal concept outside the feedbacktree core library. It is now part of the sample app. Other developers can be inspired by this code and implement their own solution.
@eliekarouz eliekarouz merged commit d90e049 into master Aug 11, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant