Unable to infer GraphQL type from TypeScript reflection system. #1058
Answered
by
rchl
kaykhancheckpoint
asked this question in
Q&A
-
I added a @field which returns an array of objects (ViewContactDetailsDB) and i'm getting the following error, it's complaining it can't infer the type although ive specified the type
Person.ts
ViewContactDetailsDB.ts
|
Beta Was this translation helpful? Give feedback.
Answered by
rchl
Sep 30, 2021
Replies: 1 comment
-
You should read https://typegraphql.com/docs/types-and-fields.html again but it likely should be:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kaykhancheckpoint
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You should read https://typegraphql.com/docs/types-and-fields.html again but it likely should be: