Skip to content

Unable to infer GraphQL type from TypeScript reflection system. #1058

Answered by rchl
kaykhancheckpoint asked this question in Q&A
Discussion options

You must be logged in to vote

You should read https://typegraphql.com/docs/types-and-fields.html again but it likely should be:

    @Field(() => [ViewContactDetailDB])
    contactDetails: ViewContactDetailDB[];

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kaykhancheckpoint
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