Replies: 2 comments
-
hmm there is not really a good way to do that at the moment. ConversionResult assumes you have one object for serialization (the info param u r passing in null for) and a collection of targets (that you know how to serialize). i could possibly add a new constructor to target |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for adding your ideas, @SimonCropp. This morning I settled on simply using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a test that's currently verifying a record that has two properties and it's working fine.
This is the record I'm using:
The object in
Result
can be quite large, and the number ofLogEntries
can also be reasonably big leading to a large single verified file.What I'd like is for the two properties to be saved as two separate
.verified.txt
files so the two unrelated bits of information can be viewed separately. I have worked out how to create a custom converter, but I can't work out how to use the same serialisation settings as the standard call toVerify
uses.This is the converter:
I would prefer not to make two separate calls to
Verify
if I can help it.Beta Was this translation helpful? Give feedback.
All reactions