Ejemplo n.º 1
0
        private void RegisterGraphQLRootSchema()
        {
            var schema = new GraphQLRootSchema();

            this.RegisterService <IGraphQLService>(schema);
            var kestrel = this.Get <IKestrelWebServerService>();

            kestrel.AddService(new GraphQLKestrelIntegration(schema));
        }
Ejemplo n.º 2
0
 public GraphQLKestrelIntegration(GraphQLRootSchema graphQLRootSchema)
 {
     this.GraphQLRootSchema = graphQLRootSchema;
 }