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
- Dashboard::PollsController#question_options_attributes
- TranslatableFormBuilder#visible_locales
- TranslatableFormBuilder#no_other_translations?
- TranslatableFormBuilder#translations_options
- TranslatableFormBuilder#highlight_translation_html_class
- TranslatableFormBuilder#new_translation_for
- TranslatableFormBuilder#existing_translation_for
- TranslatableFormBuilder#translation_for
- TranslatableFormBuilder#fields_for_translation
- TranslatableFormBuilder#fields_for_locale