Skip to content

Commit 0b9e85d

Browse files
Got too happy when I ran into a null response... it's allowed... lets… (#315)
* Got too happy when I ran into a null response... it's allowed... lets fix this * Updated project * bump Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 parent 79c95bc commit 0b9e85d

File tree

3 files changed

+0
-38
lines changed

3 files changed

+0
-38
lines changed

src/JsonRpc/JsonRpcServerServiceCollectionExtensions.cs

-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
using Microsoft.Extensions.DependencyInjection;
77
using Microsoft.Extensions.DependencyInjection.Extensions;
88
using Microsoft.Extensions.Options;
9-
using OmniSharp.Extensions.JsonRpc.Pipelines;
109
using OmniSharp.Extensions.JsonRpc.Serialization;
1110

1211
namespace OmniSharp.Extensions.JsonRpc
@@ -78,7 +77,6 @@ internal static IContainer AddJsonRpcServerCore<T>(this IContainer container, Js
7877
internal static IContainer AddJsonRpcMediatR(this IContainer container)
7978
{
8079
container.RegisterMany(new[] { typeof(IMediator).GetAssembly() }, Registrator.Interfaces, Reuse.ScopedOrSingleton);
81-
container.RegisterMany(new[] { typeof(RequestMustNotBeNullProcessor<>), typeof(ResponseMustNotBeNullProcessor<,>) }, Reuse.ScopedOrSingleton);
8280
container.RegisterMany<RequestContext>(Reuse.Scoped);
8381
container.RegisterDelegate<ServiceFactory>(context => context.Resolve, Reuse.ScopedOrSingleton);
8482

src/JsonRpc/Pipelines/RequestMustNotBeNullProcessor.cs

-18
This file was deleted.

src/JsonRpc/Pipelines/ResponseMustNotBeNullProcessor.cs

-18
This file was deleted.

0 commit comments

Comments
 (0)