I can't see the schema of my GraphQL Graph. The introspection is not working when I use Web API GraphQL Controller as endpoint.
I've currently tried with GraphiQl and the UI.Playground library
[Route("graphql")]
[ApiController]
public class GraphQLController : ControllerBase
I expect to see the schema and the types using introspection provided by the GraphQL.NET library, but unfortunately I don't. I'm currently using Insomnia Client which fetches the schema, but GraphiQL and GraphQL.Server.Ui.Playground can't do the job.
I'm using GraphQL.NET 2.4.0 by Joe McBride
[HttpPost]
public async Task<IActionResult> PostAsync([FromBody]GraphQLQuery query)
Where
public class GraphQLQuery
{
public string OperationName { get; set; }
public string NamedQuery { get; set; }
public string Query { get; set; }
public Newtonsoft.Json.Linq.JObject Variables { get; set; }
}