Hi, what is wrong with my code? The error says: `T...
# orm-help
b
Hi, what is wrong with my code? The error says:
Type 'NexusInputObjectTypeDef<"AnswerInput">' is not assignable to type '"String"'
j
The way I have solved this is my own repo is to add
AnswersInput
to the types-array in
makeSchema
and then reference the name of the type as a string.
b
yeah, you are right, I miss to declare AnswerInput in
makeSchema
. Thank you fast parrot
🦜 1