【发布时间】:2020-09-05 23:02:16
【问题描述】:
我正在使用 TypeGraphQL 和 TypeORM。在我的输入类型中,我有一个如下所示的字段:
@Field(() => [String], { nullable: true })
options: string[];
但是。我一直收到这个错误,
Error: Cannot determine GraphQL input type for options
我该如何解决这个问题?
【问题讨论】:
-
请更新到
1.0.0RC 版本,它有更多描述性错误消息
标签: typescript graphql typeorm typegraphql