Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Never Again Without a Contract: Dry-Validation for Input Validation - RubyConf 2022

Confreaks via YouTube

Overview

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.

Syllabus

Introduction
Who am I
Thank you
Im old
Agenda
Exploitation
No job anymore
Never again without a contract
Type checking
Return carburetor
Is it better
Contracts
Power for dryvalidation
Why have you heard about dryvalidation
Its not all about forms
Schemas contacts
Active mode is enough
Sponsor
Book recommendation
Why is all about boundaries
Schemas
Use case
Use something open
Endpoints
Name
API
Parameter
Status
Curve
Success
Parent
Exercise
Date
Rules
Contract
Constraint
Serializer
Conclusions
Test assertions
Business API
Little Buddy Lyrics

Taught by

Confreaks

Reviews

Start your review of Never Again Without a Contract: Dry-Validation for Input Validation - RubyConf 2022

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.