0

From what I have seen the QueryType is built in the startup and stays static. from the documentation:

public class Startup
{
    public void ConfigureServices(IServiceCollection services)
    {
        services
            .AddGraphQLServer()
            .AddQueryType<QueryType>(); // here 
    }
}

This is called and I can debug it and so on.

The question is simple: can I have a different QueryType per request (eventually filtered by an API key).

Thank you!

Júlio Almeida
  • 1,539
  • 15
  • 23

0 Answers0