Skip to content

feat(step): use GAT for StepWith/StepWithMut Output - #109

Merged
schell merged 1 commit into
mainfrom
feat/step-gats
Aug 8, 2026
Merged

schell merged 1 commit into
mainfrom
feat/step-gats

Conversation

@schell

@schell schell commented Aug 8, 2026

Copy link
Copy Markdown
Owner

Change type Output: 'static to type Output<Ev: 'static>: 'static on StepWith and StepWithMut so containers can return a type parameterized by the child event Ev (e.g. TabPanelEvent<V, T, Ev> with Tabs(...) and Panes(Ev) variants).

This fixes the semantic regression where the trait forced containers to discard the composed event.

Follow-up to #108.

Change `type Output: 'static` to `type Output<Ev: 'static>: 'static` on
StepWith and StepWithMut so containers can return a type parameterized by
the child event Ev (e.g. TabPanelEvent<V, T, Ev> with Tabs(...) and
Panes(Ev) variants). This fixes the semantic regression where the trait
forced containers to discard the composed event.
@schell
schell merged commit 1c2ea7e into main Aug 8, 2026
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