@azure/core-client
Advanced tools
Comparing version
# Release History | ||
## 1.1.2 (Unreleased) | ||
## 1.1.1 (2021-05-06) | ||
@@ -4,0 +7,0 @@ |
@@ -42,3 +42,3 @@ // Copyright (c) Microsoft Corporation. | ||
let headerValue = getOperationArgumentValueFromParameter(operationArguments, headerParameter); | ||
if (headerValue !== null && headerValue !== undefined) { | ||
if ((headerValue !== null && headerValue !== undefined) || headerParameter.mapper.required) { | ||
headerValue = operationSpec.serializer.serialize(headerParameter.mapper, headerValue, getPathStringFromParameter(headerParameter)); | ||
@@ -45,0 +45,0 @@ const headerCollectionPrefix = headerParameter.mapper |
@@ -91,3 +91,4 @@ // Copyright (c) Microsoft Corporation. | ||
let queryParameterValue = getOperationArgumentValueFromParameter(operationArguments, queryParameter, fallbackObject); | ||
if (queryParameterValue !== undefined && queryParameterValue !== null) { | ||
if ((queryParameterValue !== undefined && queryParameterValue !== null) || | ||
queryParameter.mapper.required) { | ||
queryParameterValue = operationSpec.serializer.serialize(queryParameter.mapper, queryParameterValue, getPathStringFromParameter(queryParameter)); | ||
@@ -94,0 +95,0 @@ const delimiter = queryParameter.collectionFormat |
{ | ||
"name": "@azure/core-client", | ||
"version": "1.1.1", | ||
"version": "1.1.2-alpha.20210518.2", | ||
"description": "Core library for interfacing with AutoRest generated code", | ||
@@ -98,4 +98,4 @@ "sdk-type": "client", | ||
"@types/sinon": "^9.0.4", | ||
"@azure/eslint-plugin-azure-sdk": "^3.0.0", | ||
"@azure/dev-tool": "^1.0.0", | ||
"@azure/eslint-plugin-azure-sdk": "^3.0.0-alpha", | ||
"@azure/dev-tool": "^1.0.0-alpha", | ||
"chai": "^4.2.0", | ||
@@ -102,0 +102,0 @@ "downlevel-dts": "~0.4.0", |
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
558411
0.1%5081
0.04%1
Infinity%