fastcs.transports.graphql.graphql#
Members
A Strawberry sub-tree built dynamically from a single |
|
A GraphQL server which serves one combined schema for N controllers. |
- class fastcs.transports.graphql.graphql.GraphQLServer(controller_apis: list[ControllerAPI])[source]#
A GraphQL server which serves one combined schema for N controllers.
Each top-level controller is exposed as a Query (and, where applicable, Mutation) field keyed by the controller’s id, so a single endpoint serves every configured device.
- class fastcs.transports.graphql.graphql.GraphQLAPI(controller_api: ControllerAPI)[source]#
A Strawberry sub-tree built dynamically from a single
ControllerAPI.Produces the per-controller queries and mutations; the combined top-level schema is assembled by
GraphQLServer.