6 个仓库
Validation of GraphQL input objects to prevent duplicate field names.
Distinguishing note: Candidates focus on UI form fields or general data model consistency, not GraphQL input object structural uniqueness.
Explore 6 awesome GitHub repositories matching web development · GraphQL Input Validations. Refine with filters or upvote what's useful.
This project is a GraphQL implementation for Go, providing a complete suite for building GraphQL servers. It includes a schema engine for defining types, a query parser to convert strings into abstract syntax trees, and an execution engine that resolves fields against a defined schema to return structured data. The library distinguishes itself through reflection-based type mapping, allowing object definitions and arguments to be derived directly from native Go structs. It also supports the execution of real-time data streaming via GraphQL subscriptions and provides an extensible execution pip
Ensures that input objects do not contain duplicate field names within the same object.
Type-graphql is a framework for building GraphQL servers that uses TypeScript classes as the single source of truth for schema definitions and types. It provides a schema generator and a resolver framework that allows developers to define queries and mutations using class-based controllers and decorators. The project focuses on a schema-first approach where TypeScript classes and metadata reflection are used to automatically derive GraphQL schemas. It incorporates a dependency injection container to manage the instantiation and lifecycle of resolver classes. The system includes a middleware
Implements input validation for GraphQL requests to ensure they meet required type and format specifications.
GraphQL.NET 是一个用于在 C# 应用程序中构建和执行 GraphQL API 的服务端框架。它提供了一套全面的工具包,用于模式构建、分布式数据图的联合引擎,以及用于管理实时数据流的订阅处理器。 该项目的独特之处在于其灵活的模式构建器,支持程序化的代码优先定义和使用标准模式定义语言的声明式模式优先方法。它包括一个专门的联合引擎,用于将数据图拆分为子图并将其组合成统一的网关,以及一个专门设计用于通过批处理和缓存解决 N+1 查询问题的数据加载器实现。 该框架涵盖了广泛的操作功能,包括用于服务生命周期管理的依赖注入集成、用于字段解析拦截的中间件流水线,以及针对值类型优化以减少内存分配的执行流水线。它还提供用于查询复杂度分析、文档缓存和基于角色的访问控制的工具,以保护 API 端点。 对提前(AOT)模式编译的支持允许该框架在禁止动态代码生成的环境中执行。
Provides custom server-side logic to validate GraphQL input values against specific business rules.
Vale 是一个感知标记语言的散文检查工具和命令行界面工具,旨在跨多种文档格式强制执行编辑风格指南和语法规则。它作为一个基于 YAML 的风格指南引擎,在分析文本的语气、拼写和术语一致性的同时,会忽略代码块等非散文元素。 该项目通过灵活的扩展模型脱颖而出,允许用户使用 YAML 配置、正则表达式和外部脚本定义自定义检查规则,以实现复杂的验证逻辑。它支持多种文档格式,包括 Markdown、AsciiDoc、HTML 和 Org-mode,通常通过 XSLT 对这些输入进行标准化,以应用统一的规则集。 该工具涵盖了广泛的功能领域,包括用于可读性指标和语法的语言评估、基于字典的拼写检查以及术语管理,以防止措辞不一致。它通过语言服务器协议(LSP)提供集成,以便在编辑器中进行实时诊断,并支持 CI/CD 流水线和 Git hooks 以实现散文验证的自动化。 Vale 可使用 Docker 部署在容器化环境中,以确保跨不同平台的一致执行。
Runs user-defined scripts to perform complex content validations that exceed standard pattern matching.
GraphQL-Ruby is a Ruby library for building GraphQL APIs with a strongly typed schema and a dedicated query execution engine. It provides a comprehensive framework for mapping application objects to a formal type system, enabling structured data fetching through defined resolvers. The project distinguishes itself with advanced performance and delivery mechanisms, including a data loader for batching and caching to prevent N+1 query patterns. It supports high-performance data delivery through incremental response streaming, deferred query responses, and parallel data fetching using fibers. Add
Defines specialized validation classes to perform complex checks on input values during query execution.
async-graphql is a type-safe framework for building specification-compliant GraphQL servers in Rust. It uses procedural macros to automatically generate schemas from native language structures, ensuring consistency between the data model and the API specification. The project provides native support for Apollo Federation v2, allowing entities and fields to be shared and resolved across multiple distributed subgraphs. It also implements real-time data streaming via WebSocket subscriptions and asynchronous event streams. The framework includes a wide array of capabilities for schema design, su
Provides capabilities for executing user-defined business logic to validate GraphQL input values before processing requests.