Skip to content

feat: add runtime flags for dynamic behavior control#2

Merged
tomloprod merged 1 commit intomainfrom
feat/runtime-flags
Sep 28, 2025
Merged

feat: add runtime flags for dynamic behavior control#2
tomloprod merged 1 commit intomainfrom
feat/runtime-flags

Conversation

@tomloprod
Copy link
Copy Markdown
Owner

@tomloprod tomloprod commented Sep 28, 2025

  • Add HasFlags trait with enable/disable/toggle flag methods
  • Implement flag checking methods (hasFlag, hasAnyFlag, hasAllFlags)
  • Add batch operations for multiple flags (enableFlags, disableFlags)
  • Include clearFlags method to reset all flags

This allows conditional behavior control during execution without external configuration, perfect for testing, feature toggles, and environment-specific behavior.

- Add HasFlags trait with enable/disable/toggle flag methods
- Implement flag checking methods (hasFlag, hasAnyFlag, hasAllFlags)
- Add batch operations for multiple flags (enableFlags, disableFlags)
- Include clearFlags method to reset all flags

This allows conditional behavior control during execution without
external configuration, perfect for testing, feature toggles,
and environment-specific behavior.
@tomloprod tomloprod merged commit 2c72a78 into main Sep 28, 2025
28 checks passed
@tomloprod tomloprod deleted the feat/runtime-flags branch September 28, 2025 11:57
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