From d0c03344d0e8ff2c9fe482130cbadef0c1d71624 Mon Sep 17 00:00:00 2001 From: Ruben Bartelink Date: Wed, 30 Oct 2024 08:32:24 +0000 Subject: [PATCH] Handle drop to STJ 6 --- src/Equinox.CosmosStore/CosmosStore.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Equinox.CosmosStore/CosmosStore.fs b/src/Equinox.CosmosStore/CosmosStore.fs index 85d572b53..9bc5915b3 100644 --- a/src/Equinox.CosmosStore/CosmosStore.fs +++ b/src/Equinox.CosmosStore/CosmosStore.fs @@ -1170,7 +1170,7 @@ type CosmosClientFactory(options) = MaxRetryAttemptsOnRateLimitedRequests = maxRetryAttemptsOnRateLimitedRequests, MaxRetryWaitTimeOnRateLimitedRequests = maxRetryWaitTimeOnRateLimitedRequests, RequestTimeout = requestTimeout, - UseSystemTextJsonSerializerWithOptions = JsonSerializerOptions.Default) + UseSystemTextJsonSerializerWithOptions = JsonSerializerOptions()) /// Default when rendering/parsing Batch/Tip/Event/Unfold - omitting null values static member val DefaultJsonSerializerOptions = JsonSerializerOptions(DefaultIgnoreCondition = Serialization.JsonIgnoreCondition.WhenWritingNull) /// CosmosClientOptions for this CosmosClientFactory as configured (NOTE while the Options object is not immutable, it should not have setters called on it)