Skip to content

Conversation

@Chillu1
Copy link
Owner

@Chillu1 Chillu1 commented Dec 15, 2024

A better solution to dynamic post/meta effects, by instead using conditional logic on runtime, so no state is needed in the effects or meta/post effects. At the cost of a small performance penalty.

Issues/Design choices:

  • Should effects store meta condition effects separately? To not type/null check the conditional/non-conditional ones.
  • Conditions not inferring the inherited type with generics, forcing more boilerplate code when adding conditions.

Closes #41

@Chillu1 Chillu1 changed the title Conditional meta/post effects Conditional effects and meta/post effects Dec 29, 2024
@Chillu1 Chillu1 marked this pull request as ready for review December 29, 2024 19:52
@Chillu1 Chillu1 merged commit 299760c into master Dec 29, 2024
@Chillu1 Chillu1 deleted the feature/conditional-meta-post-effects branch August 24, 2025 14:41
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.

Dynamic Meta/Post effects

2 participants