Skip to content

Refactor utility methods and optimize registry key handling#8

Merged
afuno merged 1 commit intomainfrom
feature/SRV-469/chore
Feb 15, 2026
Merged

Refactor utility methods and optimize registry key handling#8
afuno merged 1 commit intomainfrom
feature/SRV-469/chore

Conversation

@afuno
Copy link
Member

@afuno afuno commented Feb 15, 2026

No description provided.

- Introduced `Stroma::Utils` module with a `name_module` method for setting temporary names on anonymous modules. Updated relevant calls to replace `label_module`.
- Optimized `Registry` key handling by caching keys in a frozen array to enhance performance.
- Simplified hook type validation in `Hook` class by replacing `exclude?` checks with `include?`.
- Removed unnecessary `active_support/all` dependency to streamline the codebase.
- Updated tests to reflect utility method changes and improved assertions.
@afuno afuno self-assigned this Feb 15, 2026
@afuno afuno added the polish label Feb 15, 2026
@afuno afuno marked this pull request as ready for review February 15, 2026 09:35
@afuno afuno merged commit af98778 into main Feb 15, 2026
35 checks passed
@afuno afuno deleted the feature/SRV-469/chore branch February 15, 2026 09:37
@afuno afuno added this to the v0.x milestone Feb 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant