Skip to content

How to correctly use third-party GraphQL schema object types #1391

Answered by MichalLytek
tony-oldport asked this question in Q&A
Discussion options

You must be logged in to vote

AFAIR TypeGraphQL does not cooperate with graphql-js types. You would need to redeclare those types with decorators, maybe this tool can help you:
https://the-guild.dev/graphql/codegen/plugins/typescript/typescript-type-graphql

The support could be easily added, but I don't have throughput for that for now 😕

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tony-oldport
Comment options

Answer selected by tony-oldport
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants