Skip to content

Remove strategy-related documentation and code components#24

Merged
afuno merged 4 commits intomainfrom
feature/delete_strategy
Nov 20, 2025
Merged

Remove strategy-related documentation and code components#24
afuno merged 4 commits intomainfrom
feature/delete_strategy

Conversation

@afuno
Copy link
Member

@afuno afuno commented Nov 19, 2025

No description provided.

- Eliminated mentions of `DIRECT` and `ADAPTER` strategies from all documentation files (e.g., README, migration guide, cheatsheet, and examples).
- Removed strategy definitions and validations from core files (`strategy.rb` and `exceptions/strategy.rb`).
- Updated examples and version definitions to exclude strategy references, simplifying the usage patterns.
- Adjusted comparison tables, validation, and transformation sections to remove strategy-specific details.
- Ensured performance notes and best practices align with the new streamlined approach.

This cleanup aims to simplify the API by removing strategy distinctions, making it more intuitive for developers.
- Eliminated all mentions of `DIRECT` and `ADAPTER` strategies across documentation, including examples, cheatsheets, and guides.
- Simplified the core code by removing references to strategy from validators and attributes, including helper methods and factories.
- Updated versioning and validation logic to streamline API usage without the strategy distinction.
- Adjusted best practices, use cases, and transformation examples to align with the simplified API design.
- Deleted `Strategy` exception handling and related comments from `exceptions/base.rb` and controller error handling.
- Removed the definition for `unknown strategy` from locale file (`en.yml`).
- Erased strategy-related notes and examples from CLAUDE documentation, including patterns and guidelines.
- Updated validation base class to remove strategy-specific mentions, focusing exclusively on request and response validation.
- Simplified API descriptions by eliminating strategy context in workflow and code review documentation.

This further declutters the API by removing remnants of the deprecated strategy concept.
@afuno afuno self-assigned this Nov 19, 2025
@afuno afuno added this to the v1.0.0 milestone Nov 19, 2025
- Deleted repeated "Examples" links from `migration-guide.md`, `transformation.md`, and `validation.md` under "Next Steps" sections.
- Ensures clarity by eliminating unnecessary redundancy without altering overall structure.
@afuno afuno marked this pull request as ready for review November 19, 2025 22:00
@afuno afuno merged commit f73066b into main Nov 20, 2025
19 checks passed
@afuno afuno deleted the feature/delete_strategy branch November 20, 2025 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant