ASP.Net Core GraphQL Middleware
1.0.0
ASP.Net Core GraphQL 中间件
用法:在 Startup.cs 中的Configure()方法中
app . UseGraphQL ( new GraphQLOptions
{
GraphQLPath = "/graphql" ,
Schema = new Schema { Query = new StarWarsQuery ( ) }
} ) ;
app . UseGraphiQL ( new GraphiQLOptions ( )
{
GraphiQLPath = "/graphiql"
} ) ;