When using Hot Chocolate with .Net Core I am creating my scheme like this:
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
// Here I register my services / repositories; omitted for brevity
services.AddGraphQL(sp => Schema.Create(c =>
{
// Here I register my schema types and so on; omitted for brevity
}));
}
// Code omitted for brevity
}
But how do I enable the built-in Apollo Tracing for all requests actually? And does it work with .Net Framework the same way?