How to declare an empty type in shema graphql

前端 未结 0 427
独厮守ぢ
独厮守ぢ 2021-02-19 22:55

I want to declare an empty type then use it in input listComment, as the following:

type Empty{
}

input listComment{
  empty:Empty
}

in my query

相关标签:
回答
  • 消灭零回复
提交回复
热议问题