private void RegisterGraphQLRootSchema() { var schema = new GraphQLRootSchema(); this.RegisterService <IGraphQLService>(schema); var kestrel = this.Get <IKestrelWebServerService>(); kestrel.AddService(new GraphQLKestrelIntegration(schema)); }
public GraphQLKestrelIntegration(GraphQLRootSchema graphQLRootSchema) { this.GraphQLRootSchema = graphQLRootSchema; }