Skip to content

Conversation

@afuno
Copy link
Member

@afuno afuno commented Jan 10, 2026

No description provided.

- Replace dynamic singleton methods with instance flag @success
- Add success?, failure?, error as regular instance methods
- Convert Outputs class to use method_missing with hash storage
- Add output_names and predicate_names introspection methods
- Update factory methods to pass success state directly
- Add comprehensive YARD documentation
- Update RBS type signatures for new architecture
@afuno afuno added this to the v3.0.0 milestone Jan 10, 2026
@afuno afuno self-assigned this Jan 10, 2026
@afuno afuno added the feature label Jan 10, 2026
afuno added 8 commits January 11, 2026 02:14
- Break long single-line conditional into multi-line if statement
- Update regex patterns to match new error message format
- Ruby 3.4 uses "for an instance of Class" instead of "for #<Class"
- Update else branch to match new method_missing error format
- Both Ruby 3.4+ and older versions now expect "for an instance of" format
- Revert else branch to use "#<Class" format for Ruby < 3.4
- Keep "for an instance of" format only for Ruby 3.4+
- Use "for an instance of" format for both Ruby 3.4+ and older versions
- Aligns with method_missing behavior in refactored Result class
- Ruby 3.4+: single quotes, "for an instance of" format
- Ruby 3.3.x: backticks, "for an instance of" format
- Ruby < 3.3: backticks, "#<Class" format
- Ruby 3.4+: single quotes, "for an instance of" format
- Ruby 3.3.x: backticks, "for an instance of" format
- Ruby < 3.3: backticks, "#<Class" format
- Replace Rails-specific "params" with generic "arguments"
@afuno afuno marked this pull request as ready for review January 10, 2026 21:03
@afuno afuno merged commit d8be330 into main Jan 10, 2026
37 checks passed
@afuno afuno deleted the feature/SRV-401/result branch January 10, 2026 21:04
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.

2 participants