type-graphql
type-graphql copied to clipboard
Create GraphQL schema and resolvers with TypeScript, using classes and decorators!
This PR implements #620 and a part of #200 This PR enhances `@UseMiddleware()` and `@Authorized()`, now we can put them directly on the resolver so that we can avoid repeating...
**Describe the Bug** According to the docs it should be possible to override parent methods in child resolvers. This seems not to work due to typing errors. Let's say I...
Hello, I just want to open a debate to set class-validator as an optional dependencies. I personally use something else for extra validation and without class-validator it seam to be...
A refactor to give a clearer example on how to use TypeDI.
**Is your feature request related to a problem? Please describe.** It is frustrating that param decorators cannot be fully type checked. ```ts interface User { id: string } export function...
- [x] integration with apollo-engine (`apollo-cache-control`) - [x] usage with mongoose (`typegoose`) - [x] usage on client side (Apollo client state) - [x] using class mixins - [x] GraphQL Modules...
**Is your feature request related to a problem? Please describe.** I'm trying to create a Mutation that allows partially patching an entity which has required fields. Example entity: ```TypeScript export...
I find myself short of a simple way to perform reusable input field transformation. Example: ```TypeScript @InputType() export class TestInput { @Field() name: string; } ``` I would like to...
**Describe the issue** The Apollo Federation example no longer works as written in this file: https://github.com/MichalLytek/type-graphql/blob/master/examples/apollo-federation/helpers/buildFederatedSchema.ts Apollo has changed how `__resolveReference` works and has improved support for Directives in a...
File upload
Integration with https://github.com/jaydenseric/apollo-upload-server