awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 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·29 viewstypegraphql.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.

Star history

Star history chart for 19majkel94/type-graphqlStar history chart for 19majkel94/type-graphql

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does 19majkel94/type-graphql do?

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.

What are the main features of 19majkel94/type-graphql?

The main features of 19majkel94/type-graphql are: GraphQL Schema Definitions, GraphQL Frameworks, Resolver Implementations, GraphQL Integrations, Resolver Mappings, Schema Generation, Reflection-Based Type Mapping, Schema-First Class Definitions.

Which projects share features with 19majkel94/type-graphql?

Projects with overlapping indexed features include: 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…

Projects sharing features with Type Graphql

These projects share indexed features with Type Graphql. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • michallytek/type-graphqlMichalLytek avatar

    MichalLytek/type-graphql

    8,088View on 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
    View on GitHub↗8,088
  • graphql-python/graphenegraphql-python avatar

    graphql-python/graphene

    8,238View on 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
    View on GitHub↗8,238
  • chentsulin/awesome-graphqlchentsulin avatar

    chentsulin/awesome-graphql

    14,975View on 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
    View on GitHub↗14,975
  • graphql-python/graphene-djangographql-python avatar

    graphql-python/graphene-django

    4,390View on 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
    View on GitHub↗4,390
Compare all 30 related projects→