Skip to content

Introduce Treaty examples with detailed specifications#42

Merged
afuno merged 5 commits intomainfrom
feature/SRV-357/specs
Dec 17, 2025
Merged

Introduce Treaty examples with detailed specifications#42
afuno merged 5 commits intomainfrom
feature/SRV-357/specs

Conversation

@afuno
Copy link
Member

@afuno afuno commented Dec 17, 2025

No description provided.

- Added comprehensive examples for `Showcase` treaties, including:
  - `AsTreaty`, `CastTreaty`, `ComputedTreaty`, `FormatTreaty`, `IfTreaty`, `InclusionTreaty`, `RequiredTreaty`, `TransformTreaty`, and `UnlessTreaty`.
  - Each treaty includes multiple versions showcasing diverse use cases.
  - Added advanced options like computed, transform, inclusion, and format features.
- Included RSpec tests for all treaties to ensure validity and functionality.
- These implementations provide a robust foundation for demonstrating application treaty patterns.
@afuno afuno added this to the v1.0.0 milestone Dec 17, 2025
@afuno afuno self-assigned this Dec 17, 2025
@afuno afuno added the tests label Dec 17, 2025
@afuno afuno marked this pull request as ready for review December 17, 2025 11:07
@afuno afuno merged commit 3614d5e into main Dec 17, 2025
23 checks passed
@afuno afuno deleted the feature/SRV-357/specs branch December 17, 2025 12:17
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