Skip to content

Trouble merging type-graphql schema with existing schema #1384

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

You must be logged in to vote

You need to manually add the object types classes to schema via the orphanedTypes property.
TypeGraphQL traverse imports chain and include all the types defined in TypeGraphQL's @Resolver's, but since you do not define them, you can't rely on that mechanism 😉

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