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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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
Resultcan be quite large, and the number ofLogEntriescan 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.txtfiles 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 toVerifyuses.This is the converter:
I would prefer not to make two separate calls to
Verifyif I can help it.Beta Was this translation helpful? Give feedback.
All reactions