Skip to content

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

Merged
merged 1 commit into from
Jul 10, 2018
Merged

Fix quotes on json #516

merged 1 commit into from
Jul 10, 2018

Conversation

jwood803
Copy link
Contributor

Fixes issue #507.

Didn't see any impacted tests for this, but going to see about adding one.

Copy link
Contributor

@Ivanidzo4ka Ivanidzo4ka left a comment

Choose a reason for hiding this comment

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

:shipit:

Copy link
Contributor

@TomFinley TomFinley left a 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()}]}}",
Copy link
Contributor

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.

@justinormont
Copy link
Contributor

Greetings @jwood803, what kind test were you looking to add?

@jwood803
Copy link
Contributor Author

@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.

Copy link
Member

@sfilipi sfilipi left a comment

Choose a reason for hiding this comment

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

:shipit:

Copy link
Contributor

@justinormont justinormont left a comment

Choose a reason for hiding this comment

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

Thanks @jwood803

@justinormont justinormont merged commit fbc00db into dotnet:master Jul 10, 2018
eerhardt pushed a commit to eerhardt/machinelearning that referenced this pull request Jul 27, 2018
@ghost ghost locked as resolved and limited conversation to collaborators Mar 30, 2022
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.

5 participants