how to use index signature as type #1355
Answered
by
MichalLytek
schavan-rsi
asked this question in
Q&A
-
`@ObjectType() @field({ nullable: true }) @field({ nullable: true }) getting below error: Unable to infer GraphQL type from TypeScript reflection system. You need to provide explicit type for 'resultKeyVal' of 'Result' class. I found this below discussion but it won't solve my issue: |
Beta Was this translation helpful? Give feedback.
Answered by
MichalLytek
Sep 27, 2022
Replies: 1 comment 7 replies
-
It will solve your issue and it's the only way to express it in GraphQL. |
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
schavan-rsi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It will solve your issue and it's the only way to express it in GraphQL.