Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Don't serialize AssessmentResults that implement JsonFileArchivableResult #243

Merged
merged 3 commits into from
Dec 1, 2023

Conversation

nategbrown9
Copy link
Collaborator

No description provided.

Copy link

github-actions bot commented Nov 20, 2023

Unit Test Results

  39 files    39 suites   34s ⏱️
  87 tests   87 ✔️ 0 💤 0
133 runs  133 ✔️ 0 💤 0

Results for commit 51a0746.

♻️ This comment has been updated with latest results.

syoung-smallwisdom

This comment was marked as outdated.

Copy link
Collaborator

@syoung-smallwisdom syoung-smallwisdom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment got all messed up.

Basically, I am wondering why the calling method doesn't just use null for the filename?

Copy link
Collaborator

@syoung-smallwisdom syoung-smallwisdom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@@ -42,6 +42,9 @@ class AssessmentArchiver(
private var answersSchema: SimpleJsonSchema

init {
if (assessmentResult !is AssessmentResult && assessmentResult !is JsonFileArchivableResult) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a comment to help future devs with why this is here?

@nategbrown9 nategbrown9 merged commit d05bafa into main Dec 1, 2023
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants