When fixing #454 (in #462), a bug was introduced whereby outputs of orchestrations would be serialized twice if using client.waitForCompletionOrCreateCheckStatusResponse. This is because the createHttpResponse method used by waitForCompletionOrCreateCheckStatusResponse was serializing the output before passing it to the HttpResponse constructor, but the constructor itself also serializes the output. This PR fixes this bug.
When fixing #454 (in #462), a bug was introduced whereby outputs of orchestrations would be serialized twice if using
client.waitForCompletionOrCreateCheckStatusResponse
. This is because thecreateHttpResponse
method used bywaitForCompletionOrCreateCheckStatusResponse
was serializing the output before passing it to theHttpResponse
constructor, but the constructor itself also serializes the output. This PR fixes this bug.