Skip to content

Commit

Permalink
Got too happy when I ran into a null response... it's allowed... lets… (
Browse files Browse the repository at this point in the history
#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>
  • Loading branch information
david-driscoll and mergify[bot] authored Aug 15, 2020
1 parent 79c95bc commit 0b9e85d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 38 deletions.
2 changes: 0 additions & 2 deletions src/JsonRpc/JsonRpcServerServiceCollectionExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Options;
using OmniSharp.Extensions.JsonRpc.Pipelines;
using OmniSharp.Extensions.JsonRpc.Serialization;

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

Expand Down
18 changes: 0 additions & 18 deletions src/JsonRpc/Pipelines/RequestMustNotBeNullProcessor.cs

This file was deleted.

18 changes: 0 additions & 18 deletions src/JsonRpc/Pipelines/ResponseMustNotBeNullProcessor.cs

This file was deleted.

0 comments on commit 0b9e85d

Please sign in to comment.