reactive_graph_dynamic_graph_api/
schema_builder_context_manager.rs

1use async_trait::async_trait;
2use springtime_di::injectable;
3
4use reactive_graph_lifecycle::Lifecycle;
5
6use crate::SchemaBuilderContext;
7
8#[injectable]
9#[async_trait]
10pub trait SchemaBuilderContextManager: Send + Sync + Lifecycle {
11    /// Returns the context to build a new schema.
12    fn get_schema_builder_context(&self) -> SchemaBuilderContext;
13}