dry-schema
dry-schema provides a DSL for defining schemas with keys and rules that should be applied to values. It supports coercion, input sanitization, custom types and localized error messages (with or without I18n gem). It's also used as the schema engine in dry-validation.
`validate_keys` is not respected within nested hashes
bug help wanted
2026-01-30 · 4 comment(s)
`undefined method 'steps'` when using dry-struct schema
help wanted feature
2025-11-21 · 2 comment(s)
Custom `constructor` on `Types::Nominal::Any` doesn't always get called
bug help wanted
2025-11-17 · 0 comment(s)
I18n.available_locales is mutated
bug help wanted
2025-04-14 · 0 comment(s)
MessageMissingError when using predicates as macros and uuid_v3 or uuid_v5
bug help wanted
2023-09-18 · 2 comment(s)
Schema from struct reports errors on extra fields
bug help wanted
2023-09-07 · 1 comment(s)
`Dry::Schema::Compiler` cannot handle `Types::Hash.map` types
enhancement help wanted
2023-09-03 · 3 comment(s)
Incorrect key validation for schemas in `maybe(:array)`
bug help wanted
2023-03-24 · 1 comment(s)
Key validation shouldn't happen when no schema for a hash is set
bug help wanted
2023-01-19 · 7 comment(s)
array(:hash) not validating a filter
bug help wanted
2022-12-07 · 2 comment(s)
Exception silenced when raised from nested schema
bug help wanted
2022-11-28 · 2 comment(s)
Unexpected key validation with schema composition
bug help wanted
2022-11-23 · 2 comment(s)
Validation passes when array type is invalid
bug help wanted
2022-09-09 · 0 comment(s)
Inconsistent errors using struct extension
bug help wanted
2022-09-02 · 4 comment(s)
Unexpected behaviour with array of hashes
bug help wanted
2022-06-22 · 5 comment(s)
Nested Hash schema with Custom Type constructor not constructing the right type
bug help wanted
2022-01-28 · 0 comment(s)
"Object doesn't support #inspect" error raised while validating object that contains an array type attribute that contains the custom objects
bug help wanted
2021-11-16 · 0 comment(s)
Wrong key validation when empty block
bug help wanted
2021-11-05 · 0 comment(s)
Types.Interface only validates the last method in the list.
bug help wanted
2021-10-13 · 0 comment(s)
Extension info, not work with macros `maybe`
bug help wanted
2021-06-30 · 3 comment(s)
I18n backend fails with whitelisting key functionality.
bug help wanted
2021-06-10 · 0 comment(s)
Problem with hash predicate logic in array field
bug help wanted
2021-05-26 · 5 comment(s)
validate_keys=true ignored when the value is array
bug help wanted
2021-05-20 · 0 comment(s)
Empty hashes not detected by validate_keys is true
bug help wanted
2021-04-13 · 0 comment(s)
Info exension omits optional parameters with no predicates
bug help wanted
2021-03-22 · 0 comment(s)
Inconsistent behavior when passing array schema to a property
bug help wanted
2021-03-03 · 1 comment(s)
Unexpected behaviour with validate_keys
bug help wanted
2021-02-19 · 4 comment(s)
Allow ignoring key validation
help wanted feature
2021-01-04 · 0 comment(s)
Dry::Schema::Params.info throws exception when using `maybe`
bug help wanted
2020-11-03 · 3 comment(s)
Unexpected error when hash validation fails
bug help wanted
2020-10-30 · 6 comment(s)
Empty arrays of struct type error as invalid value
bug help wanted
2020-10-16 · 6 comment(s)
Default example breaks with dry-schema
bug help wanted
2020-10-16 · 2 comment(s)
If using custom top_namespace, custom namespace not work
bug help wanted
2020-07-13 · 0 comment(s)
Improve documentation about custom types and coercion
help wanted docsite
2020-05-18 · 0 comment(s)
schemas with dry-logic operators API fail when dry/validators rule is added
bug help wanted
2020-03-28 · 4 comment(s)
Make type specs mandatory
help wanted feature
2020-03-12 · 0 comment(s)
0
users added this gem as favorite
RubyGems
dry-schema
GitHub Repository
dry-rb/dry-schema
GitHub Stars
476
RubyGems Downloads
108,956,241
Current Version
1.16.0
License
MIT
Number of issues
36