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
- Poll::Question::Option.order_options
- DuplicateRecordsLogger#log_filename
- DuplicateRecordsLogger#log_file
- DuplicateRecordsLogger#logger
- DuplicateRecordsLogger#info
- Setting::LocalesSettings#update!
- Setting::LocalesSettings#update
- Setting::LocalesSettings#persisted?
- I18nContentTranslation.existing_locales
- SubscriptionsController#find_locale