From 52731938d9b62f18c44368f81e7f89c6b6bf9f08 Mon Sep 17 00:00:00 2001 From: jacalvar Date: Mon, 18 Dec 2023 14:57:06 +0100 Subject: [PATCH] Update SDK to 9.0.100-alpha.1.23618.1 --- global.json | 4 ++-- src/Components/Server/src/Circuits/CircuitHost.cs | 1 - src/Components/Server/src/ComponentHub.cs | 2 +- src/Components/Server/test/Circuits/CircuitHostTest.cs | 9 +++------ 4 files changed, 6 insertions(+), 10 deletions(-) diff --git a/global.json b/global.json index 843123774301..ab19b576c16a 100644 --- a/global.json +++ b/global.json @@ -1,9 +1,9 @@ { "sdk": { - "version": "9.0.100-alpha.1.23608.3" + "version": "9.0.100-alpha.1.23618.1" }, "tools": { - "dotnet": "9.0.100-alpha.1.23608.3", + "dotnet": "9.0.100-alpha.1.23618.1", "runtimes": { "dotnet/x86": [ "$(MicrosoftNETCoreBrowserDebugHostTransportVersion)" diff --git a/src/Components/Server/src/Circuits/CircuitHost.cs b/src/Components/Server/src/Circuits/CircuitHost.cs index 24bceaa091aa..84649d0f7a9e 100644 --- a/src/Components/Server/src/Circuits/CircuitHost.cs +++ b/src/Components/Server/src/Circuits/CircuitHost.cs @@ -728,7 +728,6 @@ private async Task TryNotifyClientErrorAsync(IClientProxy client, string error, internal Task UpdateRootComponents( RootComponentOperationBatch operationBatch, ProtectedPrerenderComponentApplicationStore store, - IServerComponentDeserializer serverComponentDeserializer, CancellationToken cancellation) { Log.UpdateRootComponentsStarted(_logger); diff --git a/src/Components/Server/src/ComponentHub.cs b/src/Components/Server/src/ComponentHub.cs index 730e75b71ddf..3bac248d676e 100644 --- a/src/Components/Server/src/ComponentHub.cs +++ b/src/Components/Server/src/ComponentHub.cs @@ -184,7 +184,7 @@ public async Task UpdateRootComponents(string serializedComponentOperations, str new ProtectedPrerenderComponentApplicationStore(applicationState, _dataProtectionProvider) : new ProtectedPrerenderComponentApplicationStore(_dataProtectionProvider); - _ = circuitHost.UpdateRootComponents(operations, store, _serverComponentSerializer, Context.ConnectionAborted); + _ = circuitHost.UpdateRootComponents(operations, store, Context.ConnectionAborted); } public async ValueTask ConnectCircuit(string circuitIdSecret) diff --git a/src/Components/Server/test/Circuits/CircuitHostTest.cs b/src/Components/Server/test/Circuits/CircuitHostTest.cs index b8240760474f..b1d2e5fe0a4d 100644 --- a/src/Components/Server/test/Circuits/CircuitHostTest.cs +++ b/src/Components/Server/test/Circuits/CircuitHostTest.cs @@ -598,8 +598,7 @@ private async Task AddComponentAsync(CircuitHost circuitHost, int ss }; // Add component - await circuitHost.UpdateRootComponents( - new() { Operations = [addOperation] }, null, CreateDeserializer(), CancellationToken.None); + await circuitHost.UpdateRootComponents(new() { Operations = [addOperation] }, null, CancellationToken.None); } private async Task UpdateComponentAsync(CircuitHost circuitHost, int ssrComponentId, Dictionary parameters = null, string componentKey = "") @@ -615,8 +614,7 @@ private async Task UpdateComponentAsync(CircuitHost circuitHost, int }; // Update component - await circuitHost.UpdateRootComponents( - new() { Operations = [updateOperation] }, null, CreateDeserializer(), CancellationToken.None); + await circuitHost.UpdateRootComponents(new() { Operations = [updateOperation] }, null, CancellationToken.None); } private async Task RemoveComponentAsync(CircuitHost circuitHost, int ssrComponentId) @@ -628,8 +626,7 @@ private async Task RemoveComponentAsync(CircuitHost circuitHost, int ssrComponen }; // Remove component - await circuitHost.UpdateRootComponents( - new() { Operations = [removeOperation] }, null, CreateDeserializer(), CancellationToken.None); + await circuitHost.UpdateRootComponents(new() { Operations = [removeOperation] }, null, CancellationToken.None); } private ProtectedPrerenderComponentApplicationStore CreateStore()