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

Further clean up layers code #2214

Merged
merged 27 commits into from
Feb 15, 2024
Merged

Further clean up layers code #2214

merged 27 commits into from
Feb 15, 2024

Conversation

hannobraun
Copy link
Owner

Remove the State trait, introducing Command and Event to replace it, and streamline the command and event used.

In addition to streamlining the layers code, the new Command trait prepares for commands having a direct return value (in addition to affecting the layer state via events), which wasn't possible under the old structure.

This change is required to make further progress on #2117.

@hannobraun hannobraun enabled auto-merge February 15, 2024 11:59
@hannobraun hannobraun merged commit f5810a4 into main Feb 15, 2024
4 checks passed
@hannobraun hannobraun deleted the layers branch February 15, 2024 12:01
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