sy-records commented on code in PR #660:
URL: https://github.com/apache/incubator-answer/pull/660#discussion_r1407436922
##########
internal/schema/question_schema.go:
##########
@@ -205,6 +205,7 @@ func (req *QuestionUpdate) Check() (errFields
[]*validator.FormErrorField, err e
type QuestionBaseInfo struct {
ID string `json:"id" `
Title string `json:"title" xorm:"title"`
// title
+ UrlTitle string `json:"url_title" xorm:"url_title"`
// title
ViewCount int `json:"view_count" xorm:"view_count"`
// view count
AnswerCount int `json:"answer_count" xorm:"answer_count"`
// answer count
CollectionCount int `json:"collection_count"
xorm:"collection_count"` // collection count
Review Comment:
Remove all xorm tags?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]