Skip to content

Add flexible body_key handling for option attributes#330

Merged
afuno merged 2 commits into
mainfrom
feature/SRV-399/new_options_system
Jan 31, 2026
Merged

Add flexible body_key handling for option attributes#330
afuno merged 2 commits into
mainfrom
feature/SRV-399/new_options_system

Conversation

@afuno
Copy link
Copy Markdown
Member

@afuno afuno commented Jan 31, 2026

No description provided.

- Introduced `body_key` to provide configurable key access for option bodies.
- Refactored `extract_normalized_body_from` to use `value` method for streamlined logic.
- Updated constructor and registrar to set default `body_key` to `:is`.
- Enhanced type signature in RBS to include `body_key` and `value`.
- Adjusted `Info::Builder` to utilize the new `value` method instead of direct body access.
@afuno afuno added this to the v3.1.0 milestone Jan 31, 2026
@afuno afuno self-assigned this Jan 31, 2026
@afuno afuno added the feature label Jan 31, 2026
@afuno afuno marked this pull request as ready for review January 31, 2026 15:09
- Moved the `need_for_checks?` method closer to related logic for improved organization and readability.
- Updated the corresponding RBS type signature to match the reordered method position.
- No functional or behavioral changes introduced.
@afuno afuno changed the title Add flexible body_key handling for option attributes Add flexible body_key handling for option attributes Jan 31, 2026
@afuno afuno merged commit 37a0212 into main Jan 31, 2026
37 checks passed
@afuno afuno deleted the feature/SRV-399/new_options_system branch January 31, 2026 15:13
@afuno afuno added polish and removed feature labels Feb 12, 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