awesome-repositories.com
Blog
MCP
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
dry-rb avatar

dry-rb/dry-validation

0
View on GitHub↗
1,422 stele·193 fork-uri·Ruby·MIT·11 vizualizăridry-rb.org/gems/dry-validation↗

Dry Validation

Dry-validation este o bibliotecă Ruby concepută pentru definirea schemelor type-safe și a regulilor complexe de validare pentru a verifica și curăța structurile de date de intrare. Aceasta oferă un framework formal pentru construirea logicii de validare modulare, asigurând că informațiile primite îndeplinesc cerințele specifice de business și formatele de date înainte de a fi procesate de o aplicație.

Biblioteca utilizează un limbaj specific domeniului (DSL) pentru a declara regulile de validare, care sunt apoi analizate în obiecte executabile. Se distinge printr-un sistem bazat pe macro-uri care grupează logica comună de validare în scurtături reutilizabile, alături de un model de compoziție recursivă care permite dezvoltatorilor să imbrice obiecte de validare pentru a construi structuri complexe, ierarhice. Această abordare permite crearea unei logici consistente, modulare, care previne duplicarea codului în aplicații mari.

Dincolo de definirea schemei de bază, biblioteca include un pipeline de coerciție a tipurilor care transformă input-ul brut în formatele așteptate și un sistem structurat de agregare a erorilor care mapează eșecurile la căi specifice de intrare. Suportă hook-uri de configurare pentru integrarea dependențelor externe și oferă instrumente pentru curățarea datelor, făcând-o potrivită pentru impunerea standardelor pe cererile API primite și obiectele de date complexe.

Features

  • Data Validation Libraries - Provides a library for defining type-safe schemas and complex validation rules to verify and sanitize input data structures in Ruby.
  • Schema Definitions - Provides tools to define formal rules and schemas to verify that incoming information matches expected formats.
  • Data Schema Validation - Defines formal rules and schemas to verify that incoming information matches expected formats and business requirements.
  • Schema Definition Frameworks - Builds modular and composable validation logic that ensures incoming information meets specific business requirements.
  • Coercion Pipelines - Transforms raw input data into expected types during the validation process to ensure consistent downstream information.
  • Schema Validation Libraries - Allows developers to combine and nest multiple validation rules to create modular logic.
  • Reusable Rule Logic - Bundles common validation logic into reusable shortcuts to simplify the definition of repetitive business rules.
  • Complex Structure Validation - Supports defining detailed rules for nested or complicated data objects to ensure structural correctness.
  • Data Sanitization Utilities - Converts raw input into consistent types and formats while reporting clear error messages for invalid entries.
  • Data Validation and Sanitization - Cleans and converts raw input into consistent types and formats during the validation process.
  • Boolean Predicates - Executes atomic logic checks against input data by mapping field keys to a library of reusable boolean verification methods.
  • DSL-Driven Validations - Provides a domain-specific language to declare validation rules and data structures that are parsed into executable objects.
  • Validation Error Reporters - Reports validation errors with clear messages and custom details to help users understand input failures.
  • Validation Error Aggregators - Collects validation failures into a structured object that maps specific input paths to descriptive error messages.
  • Request Validation - Ensures that incoming data from external clients meets specific standards before it is accepted by backend services.
  • Schema Composition Libraries - Supports nesting validation objects within one another to build complex hierarchical structures from modular components.
  • Validation Logic Decoupling - Composes and nests reusable validation rules to keep code clean and prevent duplication.
  • Reusable Validators - Provides shared validation shortcuts that bundle common rules together for consistent application across the codebase.

Istoric stele

Graficul istoricului de stele pentru dry-rb/dry-validationGraficul istoricului de stele pentru dry-rb/dry-validation

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Colecții curatoriate care includ Dry Validation

Colecții selectate manual în care apare Dry Validation.
  • Instrumente pentru validarea schemelor de date
  • librărie pentru validarea atributelor de model
  • librărie pentru gestionarea fișierelor de configurare ale aplicațiilor

Întrebări frecvente

Ce face dry-rb/dry-validation?

Dry-validation este o bibliotecă Ruby concepută pentru definirea schemelor type-safe și a regulilor complexe de validare pentru a verifica și curăța structurile de date de intrare. Aceasta oferă un framework formal pentru construirea logicii de validare modulare, asigurând că informațiile primite îndeplinesc cerințele specifice de business și formatele de date înainte de a fi procesate de o aplicație.

Care sunt principalele funcționalități ale dry-rb/dry-validation?

Principalele funcționalități ale dry-rb/dry-validation sunt: Data Validation Libraries, Schema Definitions, Data Schema Validation, Schema Definition Frameworks, Coercion Pipelines, Schema Validation Libraries, Reusable Rule Logic, Complex Structure Validation.

Care sunt câteva alternative open-source pentru dry-rb/dry-validation?

Alternativele open-source pentru dry-rb/dry-validation includ: hapijs/joi — Joi is a JavaScript data validation library used to define schemas that validate, cast, and sanitize data objects. It… sideway/joi — Joi is a JavaScript data validation library used to define schemas that ensure the structure and data types of objects… elysiajs/elysia — Elysia is a high-performance TypeScript web framework designed for building type-safe backend services. It provides a… jquense/yup — Yup is a JavaScript schema validation library used to define data shapes and validate runtime values. It functions as… ianstormtaylor/superstruct — Superstruct is a JavaScript and TypeScript data validation library used to verify that data structures match defined… ajv-validator/ajv — Ajv is a high-performance data validation framework that compiles JSON schemas into optimized, standalone JavaScript…

Alternative open-source pentru Dry Validation

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Dry Validation.
  • hapijs/joiAvatar hapijs

    hapijs/joi

    21,192Vezi pe GitHub↗

    Joi is a JavaScript data validation library used to define schemas that validate, cast, and sanitize data objects. It functions as an object schema validator and parser, ensuring that input data matches specific types and formats before it is processed by an application. The library features a conditional validation engine capable of dynamic schema enforcement, where validation logic and dependencies change based on the values of other keys within an object. It also serves as a data casting and sanitization tool, transforming input values into target types and removing sensitive keys from the

    JavaScripthapijavascriptschema
    Vezi pe GitHub↗21,192
  • sideway/joiAvatar sideway

    sideway/joi

    21,192Vezi pe GitHub↗

    Joi is a JavaScript data validation library used to define schemas that ensure the structure and data types of objects remain consistent. It functions as a schema-based validator and object schema definition tool, preventing invalid information from entering an application by checking data against predefined constraints and rules. The library employs a chainable fluent interface and a constraint-based validation engine to build complex validation pipelines. It utilizes recursive tree traversal to validate nested data structures and a type-coercion pipeline to transform input values into the t

    JavaScript
    Vezi pe GitHub↗21,192
  • elysiajs/elysiaAvatar elysiajs

    elysiajs/elysia

    18,531Vezi pe GitHub↗

    Elysia is a high-performance TypeScript web framework designed for building type-safe backend services. It provides a modular, plugin-based architecture that allows developers to compose server logic, middleware, and validation schemas into scalable application instances. By leveraging native web standards, the framework ensures portability across diverse JavaScript runtimes, including Node.js, Deno, and various edge computing environments. The framework distinguishes itself through its focus on end-to-end type safety, automatically synchronizing request and response definitions between the s

    TypeScriptbunframeworkhttp
    Vezi pe GitHub↗18,531
  • jquense/yupAvatar jquense

    jquense/yup

    23,673Vezi pe GitHub↗

    Yup is a JavaScript schema validation library used to define data shapes and validate runtime values. It functions as an object schema validator and a data coercion engine, allowing developers to transform raw input values into desired types before performing validation checks. The library is distinguished by its support for dynamic schema validation, where rules can be adjusted at runtime based on sibling field values or external context. It also enables recursive data structuring for polymorphic fields and provides a system for extracting static TypeScript interfaces from runtime schema def

    TypeScript
    Vezi pe GitHub↗23,673
Vezi toate cele 30 alternative pentru Dry Validation→