type-graphql
type-graphql copied to clipboard
Create GraphQL schema and resolvers with TypeScript, using classes and decorators!
Current system leads to many complications, compare also https://github.com/MichalLytek/type-graphql/issues/673
[Updated layout since the PR before was not consistent] Since Next.js is quite popular and it took me some time to figure this out, this might be helpful for others
[The documentation](https://19majkel94.github.io/type-graphql) was written a bit carelessly because that time I was focusing on iterating with code and features. Also my English is rather on B2/C1 level. That's why there...
With the release of graphql.js v16 I came to take a look if I could contribute any fixed required to move this along. I have noticed a few things: -...
I have an ObjectType declared with a nullable field. An ObjectType declared as a subclass of that ObjectType which defines no additional fields generates a schema in which that field...
**Is your feature request related to a problem? Please describe.** I guess it would be about to add some decorators for @key, @extend etc, to be able to declare federation...
With Apollo-Server version 3 forward (NPM shows it released about 2 months ago), the base `apollo-server` package no longer includes a "batteries-included" subscription server. You have to switch to an...
The upcoming Prisma 2 integration (#217) will generate TS classes with TypeGraphQL decorators based on data model definition of Prisma schema. But to allow for further customization, TypeGraphQL needs some...
Early on in the docs in the resolvers chapter you introduce DI as a way to access data without re-initializing new classes. I used this with typedi to access the...
**Describe the Bug** After upgrading to 1.2.0-rc.1, when GraphQL Playground runs an introspection query, it will complain about input types that have no fields. **To Reproduce** Create an input type...