awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目MCP 服务器关于排名机制媒体报道
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

1 个仓库

Awesome GitHub RepositoriesConstraint Injection

The process of injecting validation rules into generated code based on schema metadata.

Distinct from Schema-Driven Validations: Distinct from Schema-Driven Validations: focuses on the act of injecting rules into generated accessors, not deriving them from database tables.

Explore 1 awesome GitHub repository matching software engineering & architecture · Constraint Injection. Refine with filters or upvote what's useful.

Awesome Constraint Injection GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • bufbuild/protoc-gen-validatebufbuild 的头像

    bufbuild/protoc-gen-validate

    4,122在 GitHub 上查看↗

    这是一个 Protocol Buffer 验证插件和代码生成器,可在多种编程语言中创建一致的验证逻辑。它作为 Protocol Buffer 工具链的编译器扩展,允许开发人员直接在模式文件中定义语义约束,以确保数据一致性。 该工具使用自定义选项将验证规则嵌入到消息定义中,并将这些模式约束映射到特定语言的实现模式。它采用基于谓词的约束检查和递归遍历,以在嵌套消息层级中强制执行规则。 验证范围涵盖数值范围和值、字符串模式和格式、字节序列约束以及枚举强制执行。它还管理集合和重复字段大小、时间戳和持续时间的复杂类型验证,以及联合字段选择的要求。

    Injects validation rules into generated data accessors by parsing semantic metadata from input descriptor files.

    Goconstraintsprotocprotoc-plugin
    在 GitHub 上查看↗4,122
  1. Home
  2. Software Engineering & Architecture
  3. Data Validation Schemas
  4. Schema-Driven Validations
  5. Constraint Injection