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
·
19majkel94 avatar

19majkel94/type-graphql

0
View on GitHub↗
8,088 stars·671 forks·TypeScript·MIT·5 vuestypegraphql.com↗

Type Graphql

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 layer for authorization and access control, utilizing guards to restrict access to specific resolvers. It also provides mechanisms for input validation to ensure API requests meet required type and format specifications.

Features

  • GraphQL Schema Definitions - Generates typed GraphQL schemas using TypeScript classes and decorators as the single source of truth.
  • GraphQL Frameworks - Provides a comprehensive framework for building GraphQL queries and mutations using class-based controllers.
  • Resolver Implementations - Implements logic to fetch and modify data by mapping GraphQL fields to TypeScript class methods.
  • GraphQL Integrations - Provides a framework for mapping GraphQL queries and mutations to data-fetching logic via structured resolver classes.
  • Resolver Mappings - Maps GraphQL queries and mutations to specific TypeScript class methods using metadata reflection.
  • Schema Generation - Derives GraphQL schemas by scanning TypeScript class metadata and property decorators at runtime.
  • Reflection-Based Type Mapping - Uses reflect-metadata to extract type information from classes for automatic GraphQL schema mapping.
  • Schema-First Class Definitions - Uses TypeScript classes as the single source of truth for both API definitions and runtime logic.
  • GraphQL APIs - Provides a framework for building GraphQL servers where schemas and types are synchronized automatically using TypeScript.
  • GraphQL Schema Generation - Automatically generates GraphQL schemas and types from TypeScript classes using decorators.
  • Schema-First Development Frameworks - Implements a schema-first methodology where TypeScript classes define the GraphQL API.
  • Access Control Guards - Implements guard mechanisms to block or permit access to specific resolvers based on authorization rules.
  • GraphQL Authorizers - Manages endpoint permissions by implementing authorization guards within the GraphQL resolver layer.
  • Authorization Middleware - Implements a middleware layer to execute authorization and validation logic before resolver execution.
  • Authorization Interceptors - Ships a system of authorization interceptors to restrict access to resolvers via guards.
  • Dependency Injection Containers - Provides a dependency injection container to manage the instantiation and lifecycle of resolver classes.
  • GraphQL Input Validations - Implements input validation for GraphQL requests to ensure they meet required type and format specifications.
  • Type Safety and Schema Construction - Create GraphQL schema and resolvers with TypeScript using decorators.

Historique des stars

Graphique de l'historique des stars pour 19majkel94/type-graphqlGraphique de l'historique des stars pour 19majkel94/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.
  • michallytek/type-graphqlAvatar de MichalLytek

    MichalLytek/type-graphql

    8,088Voir sur GitHub↗

    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 acces

    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
  • chentsulin/awesome-graphqlAvatar de chentsulin

    chentsulin/awesome-graphql

    14,975Voir sur GitHub↗

    Awesome GraphQL is a curated directory and resource collection for the GraphQL ecosystem. It serves as a central index for developers to discover libraries, tools, and specifications required for building, testing, and managing data layer implementations across various programming languages. The repository provides access to a comprehensive range of utilities that support the entire GraphQL lifecycle. This includes resources for server-side API development, client-side integration, and schema management. It also highlights tools for security enforcement, such as rate limiting and input valida

    awesomeawesome-listgraphql
    Voir sur GitHub↗14,975
  • graphql-python/graphene-djangoAvatar de graphql-python

    graphql-python/graphene-django

    4,390Voir sur GitHub↗

    Graphene-Django is a GraphQL integration framework and schema mapper used to build typed APIs for Django applications. It functions as a database API layer that transforms Django model fields and relationships into a graph schema, allowing clients to request specific data in a single call. The project implements the Relay specification, providing tools for global object identification and standardized connection-based pagination to manage large datasets. It distinguishes itself by mapping database models, forms, and serializers directly into GraphQL object types and mutations. The framework

    Python
    Voir sur GitHub↗4,390
Voir les 30 alternatives à Type Graphql→

Questions fréquentes

Que fait 19majkel94/type-graphql ?

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.

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

Les fonctionnalités principales de 19majkel94/type-graphql sont : GraphQL Schema Definitions, GraphQL Frameworks, Resolver Implementations, GraphQL Integrations, Resolver Mappings, Schema Generation, Reflection-Based Type Mapping, Schema-First Class Definitions.

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

Les alternatives open-source à 19majkel94/type-graphql incluent : michallytek/type-graphql — Type-graphql is a toolkit and framework for creating type-safe GraphQL APIs. It functions as a schema generator and… graphql-python/graphene — Graphene is a library and framework for building type-safe GraphQL APIs and schemas using Python objects and… chentsulin/awesome-graphql — Awesome GraphQL is a curated directory and resource collection for the GraphQL ecosystem. It serves as a central index… graphql-python/graphene-django — Graphene-Django is a GraphQL integration framework and schema mapper used to build typed APIs for Django applications.… async-graphql/async-graphql — async-graphql is a type-safe framework for building specification-compliant GraphQL servers in Rust. It uses… 99designs/gqlgen — gqlgen is a schema-first Go library designed to build type-safe GraphQL servers. It functions as a code generation…