Explore TypeGraphQL feature examples
masterThe repository contains categorized examples demonstrating various TypeGraphQL capabilities:
Basics
- Simple usage of fields, basic types, and resolvers
Advanced
- Enums and unions
- Subscriptions (simple and Redis-based)
- Interfaces and inheritance
- Metadata extensions
Feature Usage
- Dependency injection (IoC containers and scoped containers)
- Authorization
- Validation (automatic and custom)
- Types, Resolvers, and Generic types inheritance
- Mixin classes
- Middlewares and Custom Decorators
- Query complexity
3rd Party Library Integrations
- ORMs: TypeORM (manual/synchronous and automatic/lazy relations), MikroORM, Typegoose
- Apollo Ecosystem: Apollo Federation (v1 and v2), Apollo Cache Control
- Other: GraphQL Scalars, TSyringe