awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
MichalLytek avatar

MichalLytek/type-graphql

0
View on GitHub↗
8,088 stars·671 forks·TypeScript·MIT·5 vuestypegraphql.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.

Historique des stars

Graphique de l'historique des stars pour michallytek/type-graphqlGraphique de l'historique des stars pour michallytek/type-graphql

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à Type Graphql

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Type Graphql.
  • 19majkel94/type-graphqlAvatar de 19majkel94

    19majkel94/type-graphql

    8,088Voir sur 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
    Voir sur GitHub↗8,088
  • graphql-python/grapheneAvatar de graphql-python

    graphql-python/graphene

    8,238Voir sur 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
    Voir sur GitHub↗8,238
  • async-graphql/async-graphqlAvatar de async-graphql

    async-graphql/async-graphql

    3,671Voir sur 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
    Voir sur GitHub↗3,671
  • litestar-org/litestarAvatar de litestar-org

    litestar-org/litestar

    8,302Voir sur 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
    Voir sur GitHub↗8,302
Voir les 30 alternatives à Type Graphql→

Questions fréquentes

Que fait 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.

Quelles sont les fonctionnalités principales de michallytek/type-graphql ?

Les fonctionnalités principales de michallytek/type-graphql sont : GraphQL APIs, GraphQL Schema Generation, GraphQL, Schema Generation, Single-Source-of-Truth Modeling, Field Resolvers, GraphQL Schema Definitions, Schema-First Development Frameworks.

Quelles sont les alternatives open-source à michallytek/type-graphql ?

Les alternatives open-source à michallytek/type-graphql incluent : 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…