Ejemplo n.º 1
0
 public GraphQLMiddleware(
     RequestDelegate next,
     GraphQLSettings settings,
     IDocumentExecuter executer,
     IDocumentWriter writer)
 {
     _next     = next;
     _settings = settings;
     _executer = executer;
     _writer   = writer;
 }
Ejemplo n.º 2
0
 public GraphQLMiddleware(
     RequestDelegate next,
     IOptions <GraphQLSettings> options,
     IDocumentExecuter executer,
     IDocumentWriter writer)
 {
     _next     = next;
     _settings = options.Value;
     _executer = executer;
     _writer   = writer;
 }
 public GraphQLMiddleware(
     IOptions <GraphQLSettings> options,
     IDocumentExecuter executer,
     IDocumentWriter writer,
     ISchema schema)
 {
     _settings = options.Value;
     _executer = executer;
     _writer   = writer;
     _schema   = schema;
 }