type-graphql icon indicating copy to clipboard operation
type-graphql copied to clipboard

Create GraphQL schema and resolvers with TypeScript, using classes and decorators!

Results 156 type-graphql issues
Sort by recently updated
recently updated
newest added

**Describe the Bug** A ReferenceError is thrown at startup due to circular references. These circular references occur while using the `@Field(type => SomeType)` syntax. **To Reproduce** Example Repository: https://github.com/zacharyclaysmith/type-graphql-circular-dependency-repro (Key...

Question :grey_question:
Community :family_man_girl:
Need More Info :man_shrugging:

**Describe the Bug** I have a custom [parameter decorator](https://typegraphql.com/docs/custom-decorators.html#parameter-decorators) on a field resolver applied through [inheritance](https://typegraphql.com/docs/inheritance.html#resolver-inheritance). Unfortunately, with this structure, the parameter returned is empty (although as far as I...

Bug :bug:
Community :family_man_girl:

**Is your feature request related to a problem? Please describe.** I am having problems with circular dependency when using a user role enum on Authorized in props (no problem in...

Question :grey_question:

Blocked by https://github.com/antfu/sponsorkit/issues/40 Worth considering another tools or option to generate html/markdown instead of svg. One of the requirement is being able to click on the sponsor's logo and being...

Chore :hammer:
Blocked :no_entry_sign:

Add an error or warning message if @Directive SDL string contains newline characters. If SDL contains a newline character the directive is completely and silently ignored.

Bug :bug:
Community :family_man_girl:

TypeScript 5.0 has released support for ECMAscript decorators: https://devblogs.microsoft.com/typescript/announcing-typescript-5-0-beta/ However, right now it's not possible to migrate TypeGraphQL from `experimentalDecorators` because of lack of support for parameters decorators: https://github.com/tc39/proposal-decorators/issues/47 This...

Enhancement :new:
Discussion :speech_balloon:
Blocked :no_entry_sign:

I think we should add to the docs that `buildTypeDefsAndResolvers` and `buildTypeDefsAndResolversSync` do not have any **directive**(s) in `typeDefs`.

Community :family_man_girl:
Documentation :book:

**Describe the Bug** Error after subscription client. **To Reproduce** ``` /// server import { ApolloServer } from 'apollo-server-express'; import express from 'express'; import { useServer } from 'graphql-ws/lib/use/ws'; import {...

Community :family_man_girl:
Need More Info :man_shrugging:

**Describe the Bug** Error when compiling with ESbuild (ESModule) Error details: "Expected name to be a non-empty string." We encountered an error while attempting to build the project with ESbuild...

Question :grey_question:
Need More Info :man_shrugging:

Bumps [husky](https://github.com/typicode/husky) from 8.0.3 to 9.0.11. Release notes Sourced from husky's releases. v9.0.11 chore: update package-lock.json by @​btea in typicode/husky#1383 fix: export HUSKY=0 in init (fixes #1393) by @​typicode in...

Dependencies :package:
javascript