From 672a5ef14190b9f5b356ca261482d4f964034b6b Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 17 Oct 2023 19:47:39 +0000
Subject: [PATCH 1/2] Update dependency DryIoc.Internal to v5.4.2
---
Directory.Packages.props | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Directory.Packages.props b/Directory.Packages.props
index b52df7c1a..c8e4bd249 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -60,6 +60,6 @@
-
+
\ No newline at end of file
From 3ba26f9fdeba6c981e6552f28a1170660843cec2 Mon Sep 17 00:00:00 2001
From: Joey Robichaud
Date: Wed, 25 Oct 2023 11:15:34 -0700
Subject: [PATCH 2/2] The Reuse.Transient property was unused and misleading
See https://github.com/dadhi/DryIoc/issues/486
---
src/JsonRpc/JsonRpcServerContainer.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/JsonRpc/JsonRpcServerContainer.cs b/src/JsonRpc/JsonRpcServerContainer.cs
index ccc645e85..5ac29f682 100644
--- a/src/JsonRpc/JsonRpcServerContainer.cs
+++ b/src/JsonRpc/JsonRpcServerContainer.cs
@@ -37,7 +37,7 @@ public static IContainer Create(IServiceProvider? outerServiceProvider)
rules => rules.WithUnknownServiceResolvers(
request => {
var value = outerServiceProvider.GetService(request.ServiceType);
- return value == null ? null : (Factory) InstanceFactory.Of(value, Reuse.Transient);
+ return value == null ? null : (Factory) InstanceFactory.Of(value);
}
)
);