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.
Types
Docs
Guides
Zeitwerk
Namespace
Optimized
1.10.2
Piotr Solnica
concurrent-ruby, dry-configurable, dry-core, dry-initializer, dry-logic, dry-types, bundler, rake, rspec
bundle add dry-schema
Getting Started
Learn more about the Dry-schema gem.
Playground
Test, play and inspect the gem for yourself