Graphql 使用嵌套值作为图形ql';s查询参数

Graphql 使用嵌套值作为图形ql';s查询参数,graphql,Graphql,我正在尝试使用“where”语句中的嵌套值筛选GraphQL订阅,但遇到语法问题 以下是我的graphQL查询: subscription Tags($id: Int){ extras_tag (where: ){ name color id extras_taggeditems { object_id } } } 基本上,我想使用字段“object_id”作为参数,但试图通过extras_taggeditems访问它。object_

我正在尝试使用“where”语句中的嵌套值筛选GraphQL订阅,但遇到语法问题

以下是我的graphQL查询:

subscription Tags($id: Int){
  extras_tag (where: ){
    name
    color
    id
    extras_taggeditems {
      object_id
    }
  }
}
基本上,我想使用字段“object_id”作为参数,但试图通过extras_taggeditems访问它。object_id会丢失一个错误

提前感谢您的帮助