dotnet-cqrs/PoweredSoft.CQRS.GraphQL.HotChocolate.DynamicQuery/RequestExecutorBuilderExtensions.cs

16 lines
469 B
C#
Raw Normal View History

2021-02-04 13:51:31 -05:00
using HotChocolate.Execution.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System;
namespace PoweredSoft.CQRS.GraphQL.HotChocolate.DynamicQuery
{
public static class RequestExecutorBuilderExtensions
{
public static IRequestExecutorBuilder AddPoweredSoftDynamicQueries(this IRequestExecutorBuilder builder)
{
builder.AddTypeExtension<DynamicQueryObjectType>();
return builder;
}
}
}