Embed question verification references

This commit is contained in:
hz
2026-07-13 22:29:20 -05:00
parent 0fe47de423
commit 292f8ff9b4
10 changed files with 203 additions and 4 deletions
+3 -1
View File
@@ -21,6 +21,7 @@ public class QuestionResponse
public List<QuestionLab> Labs { get; set; } = [];
public List<string> Media { get; set; } = [];
public List<string> Tags { get; set; } = [];
public List<QuestionReference> References { get; set; } = [];
public static QuestionResponse FromModel(
Question question,
@@ -56,7 +57,8 @@ public class QuestionResponse
QuestionElo = questionElo,
Labs = question.Labs,
Media = question.Media,
Tags = question.Tags
Tags = question.Tags,
References = question.References
};
}