/ASP.Net-Core-GraphQL-Middleware

ASP.Net Core GraphQL Middleware

Primary LanguageC#MIT LicenseMIT

ASP.Net-Core-GraphQL-Middleware

ASP.Net Core GraphQL Middleware

usage: in your Startup.cs in the Configure() Method

app.UseGraphQL(new GraphQLOptions
{
    GraphQLPath = "/graphql" ,
    Schema = new Schema { Query = new StarWarsQuery() }
});

app.UseGraphiQL(new GraphiQLOptions()
{
    GraphiQLPath = "/graphiql"
});