Interface IGraphQLModule
Namespace: Cephalon.AspNetCore.GraphQL.Modules
Assembly: Cephalon.AspNetCore.GraphQL.dll
Marks a Cephalon module as contributing GraphQL schema or resolver behavior on ASP.NET Core.
public interface IGraphQLModule : IModuleImplements
Section titled “Implements”IModule
Remarks
Section titled “Remarks”Implementing modules should also register their GraphQL query, mutation, subscription, or
type-extension services from ConfigureServices by calling
ConfigureGraphQLQuery(…), ConfigureGraphQLMutation(…),
ConfigureGraphQLSubscription(…), or ConfigureGraphQLTransport(…) on the
shared service collection. Subscription fields still require a concrete Hot Chocolate
subscription provider, such as AddInMemorySubscriptions(), to execute over the built-in
GraphQL-over-SSE or GraphQL-over-WebSocket routes.