minos.plugins.graphql.builders.schema
Classes
GraphQL Schema Builder class. |
- class GraphQLSchemaBuilder[source]
Bases:
object
GraphQL Schema Builder class.
- classmethod build(routes)[source]
Build a new schema from routes.
- Parameters
routes (dict[minos.plugins.graphql.decorators.GraphQlEnrouteDecorator, collections.abc.Callable]) – The routes to build the schema.
- Returns
A
GraphQLSchema
instance.- Return type
GraphQLSchema