Skip to content

Commit 33c928c

Browse files
committed
feat(graph): implement "attempted" and "solved" field
1 parent 34b0451 commit 33c928c

File tree

2 files changed

+54
-0
lines changed

2 files changed

+54
-0
lines changed

graph/question.graphqls

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,16 @@ extend type Mutation {
6262

6363
extend type Question {
6464
referenceAnswerResult: SQLExecutionResult! @scope(scope: "question:read")
65+
66+
"""
67+
Have you tried to solve the question?
68+
"""
69+
attempted: Boolean!
70+
71+
"""
72+
Have you solved the question?
73+
"""
74+
solved: Boolean!
6575
}
6676

6777
extend type User {

graph/question.resolvers.go

Lines changed: 44 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)