We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I access the GraphiQL endpoint everything shows correct except for the console that shows this error:
In the Network tab there is no response, just the 404 error, this also happens when I query something.
This is how I add my services and graphiQL:
services.AddGraphiQl(x => { x.GraphiQlPath = "/graphiql-ui"; x.GraphQlApiPath = "graphql"; }); services.AddSingleton<IDependencyResolver>(x => new FuncDependencyResolver(type => x.GetRequiredService(type))); services.AddScoped<UnitMeasurement>(); services.AddScoped<UnitMeasurementRepository>(); services.AddScoped<UnitMeasurementQuery>(); services.AddScoped<UnitMeasurementSchema>(); services.AddGraphQL(x => { x.ExposeExceptions = true; //set true only in development mode. make it switchable. }).AddGraphTypes(ServiceLifetime.Scoped);
Any help is appreciated, thanks.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I access the GraphiQL endpoint everything shows correct except for the console that shows this error:
In the Network tab there is no response, just the 404 error, this also happens when I query something.
This is how I add my services and graphiQL:
Any help is appreciated, thanks.
The text was updated successfully, but these errors were encountered: