@azure/core-http
Advanced tools
Comparing version 2.3.0-alpha.20221028.2 to 2.3.0-alpha.20221102.3
@@ -678,4 +678,11 @@ // Copyright (c) Microsoft Corporation. | ||
} | ||
else if (propertyMapper.xmlIsMsText && responseBody[XML_CHARKEY] !== undefined) { | ||
instance[key] = responseBody[XML_CHARKEY]; | ||
else if (propertyMapper.xmlIsMsText) { | ||
if (responseBody[XML_CHARKEY] !== undefined) { | ||
instance[key] = responseBody[XML_CHARKEY]; | ||
} | ||
else if (typeof responseBody === "string") { | ||
// The special case where xml parser parses "<Name>content</Name>" into JSON of | ||
// `{ name: "content"}` instead of `{ name: { "_": "content" }}` | ||
instance[key] = responseBody; | ||
} | ||
} | ||
@@ -682,0 +689,0 @@ else { |
@@ -5,3 +5,3 @@ { | ||
"author": "Microsoft Corporation", | ||
"version": "2.3.0-alpha.20221028.2", | ||
"version": "2.3.0-alpha.20221102.3", | ||
"description": "Isomorphic client Runtime for Typescript/node.js/browser javascript client libraries generated using AutoRest", | ||
@@ -8,0 +8,0 @@ "tags": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1751505
17912