Replies: 3 comments 1 reply
-
https://typegraphql.com/docs/installation.html#typescript-configuration |
Beta Was this translation helpful? Give feedback.
1 reply
-
Encountered this error and fixed by verifying my tsconfig. |
Beta Was this translation helpful? Give feedback.
0 replies
-
For anyone who already configured {
"emitDecoratorMetadata": true,
"experimentalDecorators": true
} in |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm getting this on all properties decorated with
@Field()
:NoExplicitTypeError: Unable to infer GraphQL type from TypeScript reflection system. You need to provide explicit type for 'email' of 'AddUserInput' class.
I would expect to get this on
Object
andArray
properties. But, I'm getting it withstring
s andnumber
s, too.E.g.:
Any suggestions? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions