Skip to content

Commit 78398b5

Browse files
Merge pull request #1986 from solliancenet/jdh-configuration-validation-0.8.4
(0.8.4) Allow saving empty configuration values
2 parents ea7ef61 + f9eff6d commit 78398b5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/dotnet/Configuration/Services/ConfigurationResourceProviderService.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,6 @@ private async Task<ResourceProviderUpsertResult> UpdateAppConfigurationKey(Resou
266266
if (string.IsNullOrWhiteSpace(appConfig.Key))
267267
throw new ResourceProviderException("The key name is invalid.", StatusCodes.Status400BadRequest);
268268

269-
if (string.IsNullOrWhiteSpace(appConfig.Value))
270-
throw new ResourceProviderException("The key value is invalid.", StatusCodes.Status400BadRequest);
271-
272269
if (appConfig.ContentType == null)
273270
throw new ResourceProviderException("The key content type is invalid.", StatusCodes.Status400BadRequest);
274271

0 commit comments

Comments
 (0)