We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I would like to use auto relay for union types: https://typegraphql.com/docs/1.1.1/unions.html
Trying to use it with union types will give me the following typescript error: Type 'Document | Folder' is not assignable to type 'ClassType<any>'.
Type 'Document | Folder' is not assignable to type 'ClassType<any>'.
It's not just a typescript error because if I try to do @RelayedQuery(() => SearchResultUnion as any)
I will get undefinedConnection as a return type inside my graphql schema
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I would like to use auto relay for union types:
https://typegraphql.com/docs/1.1.1/unions.html
Trying to use it with union types will give me the following typescript error:
Type 'Document | Folder' is not assignable to type 'ClassType<any>'.
It's not just a typescript error because if I try to do
@RelayedQuery(() => SearchResultUnion as any)
I will get undefinedConnection as a return type inside my graphql schema
The text was updated successfully, but these errors were encountered: