Class ProtoHostBuilderExtensions

Namespace
ProtoTest.GraphQL
Assembly
ProtoTest.GraphQL.dll
public static class ProtoHostBuilderExtensions
Inheritance
ProtoHostBuilderExtensions
Inherited Members

Methods

AddGraphQL(IProtoApplicationBuilder, Action<ProtoGraphQLBuilder>?)

Exposes GraphQL under an application. Named clients are registered relative to the application, take their endpoint from ProtoTest:Applications:{app}, and become the application's GraphQL clients in registration order (the first is the default).

public static IProtoApplicationBuilder AddGraphQL(this IProtoApplicationBuilder application, Action<ProtoGraphQLBuilder>? configure = null)

Parameters

application IProtoApplicationBuilder
configure Action<ProtoGraphQLBuilder>

Returns

IProtoApplicationBuilder

AddGraphQL(IProtoHostBuilder, Action<ProtoGraphQLBuilder>?)

public static IProtoHostBuilder AddGraphQL(this IProtoHostBuilder builder, Action<ProtoGraphQLBuilder>? configure = null)

Parameters

builder IProtoHostBuilder
configure Action<ProtoGraphQLBuilder>

Returns

IProtoHostBuilder