awesome-repositories.com
Blog
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
·
MichalLytek avatar

MichalLytek/type-graphql

0
View on GitHub↗
8,088 stele·671 fork-uri·TypeScript·MIT·7 vizualizăritypegraphql.com↗

Type Graphql

Type-graphql is a toolkit and framework for creating type-safe GraphQL APIs. It functions as a schema generator and resolver library that uses TypeScript classes and decorators as the primary source of truth for data structures and query logic.

The project enables the definition of GraphQL schemas and resolvers through typed classes rather than manual schema definition language. This approach ensures that TypeScript types automatically align with the GraphQL schema to prevent runtime errors.

The framework provides capabilities for API implementation, including input data validation and access control through guards. It further supports resolver organization via dependency injection and controller classes.

Features

  • GraphQL APIs - Provides a framework for exposing data models through automatically generated type-safe GraphQL interfaces.
  • GraphQL Schema Generation - Provides a framework to generate GraphQL schemas and resolvers using TypeScript classes and decorators as the source of truth.
  • GraphQL - Provides a library for implementing GraphQL queries and mutations via typed controller classes.
  • Schema Generation - Uses class decorators to automatically derive GraphQL schemas from TypeScript metadata at runtime.
  • Single-Source-of-Truth Modeling - Uses TypeScript classes as the shared primary definition for both data models and the GraphQL schema.
  • Field Resolvers - Implements field resolvers within controller classes to handle data fetching and mutations.
  • GraphQL Schema Definitions - Defines GraphQL schemas and types using TypeScript classes to maintain a single source of truth.
  • Schema-First Development Frameworks - Prioritizes typed classes as the source of truth for generating the GraphQL schema and logic.
  • Type-Safe API Frameworks - Leverages the TypeScript static type system to ensure the GraphQL schema and API contracts align.
  • Resolver Mappings - Maps GraphQL queries and mutations to specific methods within controller classes using metadata reflection.
  • Access Control Guards - Uses guards to block unauthorized requests to specific GraphQL resolvers based on security policies.
  • Input Validation - Verifies and sanitizes incoming GraphQL arguments against defined rules to ensure data integrity.
  • Dependency Injection Containers - Provides an inversion-of-control container to decouple business logic from GraphQL resolvers.
  • Dependency Injection - Decouples business logic from the API by injecting required service dependencies into resolvers.
  • Metadata Reflection Frameworks - Utilizes reflect-metadata to dynamically inspect decorated class properties for schema generation.
  • Request Interception Middleware - Implements a chain of guards and validation functions that intercept requests before they reach resolvers.
  • Controller-Based Organization - Structures business logic and data fetching using class-based controllers and dependency injection.
  • Web Framework Integrations - TypeScript-based framework for building GraphQL APIs.
  • Web Frameworks - Framework for creating GraphQL APIs using TypeScript classes and decorators.

Istoric stele

Graficul istoricului de stele pentru michallytek/type-graphqlGraficul istoricului de stele pentru michallytek/type-graphql

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

Întrebări frecvente

Ce face michallytek/type-graphql?

Type-graphql is a toolkit and framework for creating type-safe GraphQL APIs. It functions as a schema generator and resolver library that uses TypeScript classes and decorators as the primary source of truth for data structures and query logic.

Care sunt principalele funcționalități ale michallytek/type-graphql?

Principalele funcționalități ale michallytek/type-graphql sunt: GraphQL APIs, GraphQL Schema Generation, GraphQL, Schema Generation, Single-Source-of-Truth Modeling, Field Resolvers, GraphQL Schema Definitions, Schema-First Development Frameworks.

Care sunt câteva alternative open-source pentru michallytek/type-graphql?

Alternativele open-source pentru michallytek/type-graphql includ: 19majkel94/type-graphql — Type-graphql is a framework for building GraphQL servers that uses TypeScript classes as the single source of truth… graphql-python/graphene — Graphene is a library and framework for building type-safe GraphQL APIs and schemas using Python objects and… async-graphql/async-graphql — async-graphql is a type-safe framework for building specification-compliant GraphQL servers in Rust. It uses… litestar-org/litestar — Litestar is a high-performance Python ASGI web framework designed for building asynchronous APIs and web services. It… loopbackio/loopback-next — LoopBack Next is a Node.js API framework used for building REST and multi-protocol APIs. It functions as an OpenAPI… elysiajs/elysia — Elysia is a high-performance TypeScript web framework designed for building type-safe backend services. It provides a…

Alternative open-source pentru Type Graphql

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Type Graphql.
  • 19majkel94/type-graphqlAvatar 19majkel94

    19majkel94/type-graphql

    8,088Vezi pe GitHub↗

    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

    TypeScript
    Vezi pe GitHub↗8,088
  • graphql-python/grapheneAvatar graphql-python

    graphql-python/graphene

    8,238Vezi pe GitHub↗

    Graphene is a library and framework for building type-safe GraphQL APIs and schemas using Python objects and resolvers. It provides a system for mapping internal data models to typed GraphQL schemas, enabling the creation of servers that process queries and execute resolvers to return structured data. The project includes a full implementation of the Relay specification, providing standardized patterns for global object identification and cursor-based pagination. It utilizes a class-based approach to schema definition and supports interface-based type inheritance. The framework covers a broa

    Python
    Vezi pe GitHub↗8,238
  • async-graphql/async-graphqlAvatar async-graphql

    async-graphql/async-graphql

    3,671Vezi pe GitHub↗

    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

    Rust
    Vezi pe GitHub↗3,671
  • litestar-org/litestarAvatar litestar-org

    litestar-org/litestar

    8,302Vezi pe GitHub↗

    Litestar is a high-performance Python ASGI web framework designed for building asynchronous APIs and web services. It functions as a type-safe toolkit that leverages Python type hints to provide automatic request validation and response serialization, while natively generating interactive API documentation based on the OpenAPI specification. The framework is distinguished by its integrated dependency injection system, which manages shared resources and resolves complex nested service chains directly within request handlers. It further organizes API development through class-based controllers

    Pythonapiasgiasyncio
    Vezi pe GitHub↗8,302
  • Vezi toate cele 30 alternative pentru Type Graphql→