ASP.Net Core GraphQL Middleware
1.0.0
ASP.Net Core GraphQL-Middleware
Verwendung: in Ihrer Startup.cs in der Methode „Configure()“.
app . UseGraphQL ( new GraphQLOptions
{
GraphQLPath = "/graphql" ,
Schema = new Schema { Query = new StarWarsQuery ( ) }
} ) ;
app . UseGraphiQL ( new GraphiQLOptions ( )
{
GraphiQLPath = "/graphiql"
} ) ;