@nestjs/swagger
Advanced tools
Comparing version 7.1.5 to 7.1.6
@@ -21,5 +21,7 @@ "use strict"; | ||
const keysWithValidationConstraints = (0, mapped_types_1.inheritValidationMetadata)(classRef, PartialTypeClass); | ||
keysWithValidationConstraints | ||
.filter((key) => !fields.includes(key)) | ||
.forEach((key) => (0, mapped_types_1.applyIsOptionalDecorator)(PartialTypeClass, key)); | ||
if (keysWithValidationConstraints) { | ||
keysWithValidationConstraints | ||
.filter((key) => !fields.includes(key)) | ||
.forEach((key) => (0, mapped_types_1.applyIsOptionalDecorator)(PartialTypeClass, key)); | ||
} | ||
(0, mapped_types_1.inheritTransformationMetadata)(classRef, PartialTypeClass); | ||
@@ -26,0 +28,0 @@ function applyFields(fields) { |
{ | ||
"name": "@nestjs/swagger", | ||
"version": "7.1.5", | ||
"version": "7.1.6", | ||
"description": "Nest - modern, fast, powerful node.js web framework (@swagger)", | ||
@@ -5,0 +5,0 @@ "author": "Kamil Mysliwiec", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
296184
5967