feat: 相关问题查询添加问题类型查询
- 查询语句更改:添加type字段 - mapper增添:添加type字段的mapper - 视图模型更改:QuestionListView添加type字段
This commit is contained in:
@ -1,6 +1,13 @@
|
||||
query GetQuestionList($locale: String!) {
|
||||
questions(filter: { status: { _eq: "published" } }) {
|
||||
id
|
||||
type {
|
||||
id
|
||||
translations(filter: { languages_code: { code: { _eq: $locale } } }) {
|
||||
id
|
||||
name
|
||||
}
|
||||
}
|
||||
translations(filter: { languages_code: { code: { _eq: $locale } } }) {
|
||||
id
|
||||
title
|
||||
|
||||
Reference in New Issue
Block a user