type-graphql
type-graphql copied to clipboard
Create GraphQL schema and resolvers with TypeScript, using classes and decorators!
**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...
Argument set through Custom Parameter Decorator is empty when using inheritance with a FieldResolver
**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...
**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...
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...
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.
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...
I think we should add to the docs that `buildTypeDefsAndResolvers` and `buildTypeDefsAndResolversSync` do not have any **directive**(s) in `typeDefs`.
**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 {...
**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...
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...