Never Again Without a Contract: Dry-Validation for Input Validation - RubyConf 2022
Explore the importance of input validation in software systems through this RubyConf 2022 talk by Espartaco Palma. Learn how to define clear and enforceable contracts for external inputs using dry-schema and dry-validation libraries in Ruby. Discover how to implement structure and payload validation with awareness of schema, structure, and types in just a few lines of code. Gain insights into error handling out-of-the-box and optional pattern matching for results. Follow along as the speaker covers topics such as type checking, contracts, schemas, use cases, endpoints, rules, constraints, and serializers. Understand the significance of boundaries in software development and how proper input validation can prevent exploitation and improve system reliability.