-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Fix quotes on json #516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix quotes on json #516
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @jwood803 ! I'm not entirely certain that tests for this specific thing are urgent, but maybe they are.
@@ -273,7 +273,7 @@ public PipelineResultRow ToResultRow() | |||
{ | |||
var graphDef = ToEntryPointGraph(); | |||
|
|||
return new PipelineResultRow($"{{'Nodes' : [{graphDef.Graph.ToJsonString()}]}}", | |||
return new PipelineResultRow($"{{\"Nodes\" : [{graphDef.Graph.ToJsonString()}]}}", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Nodes" [](start = 45, length = 9)
not huge fan of composing json strings manually, but I'm fine with this changes.
Greetings @jwood803, what kind test were you looking to add? |
@justinormont Just one to show that it returns the correct JSON. It's probably overkill and not urgent to add as @TomFinley mentioned. Especially since this change doesn't do much with the functionality. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @jwood803
Fixes issue #507.
Didn't see any impacted tests for this, but going to see about adding one.