dry-types
https://github.com/dry-rb/dry-types
Ruby
Flexible type system for Ruby with coercions and constraints
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
2 Subscribers
Add a CodeTriage badge to dry-types
Help out
- Issues
- Allows Default to return the right Result
- Add Dry::Types::Enum#each_value method, with tests
- default causes try/1 to raise an ConstraintError exception rather than an Failure
- A bug with array, struct and sum of structs in `try` method
- Give Enum types a name with meaningful information
- Types.Constructor failing on Ruby 3.1
- Missing method implementation for `Enum.each_value`
- Register a boolean type as an alias of bool
- Implement Transition composition type
- Compiler#visit_implication, Compiler#visit_intersection and a couple of changes in specs
- Docs
- PollOptionFinder#unmanageable_choices
- PollOptionFinder#manageable_choices
- PollOptionFinder#initialize
- PollOptionFinder#question
- Videoable#video_url_field
- Videoable#valid_video_url?
- Poll::Question::Option#with_read_more?
- Poll::Question::Option#total_votes_percentage
- Poll::Question::Option#total_votes
- Poll::Question::Option.last_position