Skip to content

Commit e673151

Browse files
committed
Added named parameter for specific JSON serialization options in HotChocolate ToJson() method call.
1 parent 7ad8f7b commit e673151

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cosmos.GraphQL.Service/Cosmos.GraphQL.Service/Services/GraphQLService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ internal async Task<string> ExecuteAsync(String requestBody)
5555
IExecutionResult result =
5656
await Executor.ExecuteAsync(queryRequest);
5757

58-
return result.ToJson(false);
58+
return result.ToJson(withIndentations:false);
5959
}
6060

6161
private static bool IsIntrospectionPath(IEnumerable<object> path)

0 commit comments

Comments
 (0)