KlusterKite  0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
KlusterKite.Web.GraphQL.Publisher.SchemaGenerator Class Reference

Generator of the GraphQL scheme from api providers More...

Static Public Member Functions

static IEnumerable< string > CheckSchema (Schema schema)
 Check the generated schema for possible errors More...
 
static IEnumerable< string > CheckSchemaIntrospection (Schema schema)
 Check the schema against introspection query More...
 
static Schema Generate (List< ApiProvider > providers)
 Generates GraphQL schema More...
 

Detailed Description

Generator of the GraphQL scheme from api providers

Definition at line 32 of file SchemaGenerator.cs.

Member Function Documentation

◆ CheckSchema()

static IEnumerable<string> KlusterKite.Web.GraphQL.Publisher.SchemaGenerator.CheckSchema ( Schema  schema)
static

Check the generated schema for possible errors

Parameters
schemaThe generated schema
Returns
The list of errors

Definition at line 39 of file SchemaGenerator.cs.

◆ CheckSchemaIntrospection()

static IEnumerable<string> KlusterKite.Web.GraphQL.Publisher.SchemaGenerator.CheckSchemaIntrospection ( Schema  schema)
static

Check the schema against introspection query

Parameters
schemaThe schema
Returns
List of errors

Definition at line 106 of file SchemaGenerator.cs.

◆ Generate()

static Schema KlusterKite.Web.GraphQL.Publisher.SchemaGenerator.Generate ( List< ApiProvider providers)
static

Generates GraphQL schema

Parameters
providersThe list of providers
Returns
The new GraphQL schema

Definition at line 197 of file SchemaGenerator.cs.


The documentation for this class was generated from the following file: