pub struct IntermediateSchema {Show 16 fields
pub version: String,
pub types: Vec<IntermediateType>,
pub enums: Vec<IntermediateEnum>,
pub input_types: Vec<IntermediateInputObject>,
pub interfaces: Vec<IntermediateInterface>,
pub unions: Vec<IntermediateUnion>,
pub queries: Vec<IntermediateQuery>,
pub mutations: Vec<IntermediateMutation>,
pub subscriptions: Vec<IntermediateSubscription>,
pub fragments: Option<Vec<IntermediateFragment>>,
pub directives: Option<Vec<IntermediateDirective>>,
pub fact_tables: Option<Vec<IntermediateFactTable>>,
pub aggregate_queries: Option<Vec<IntermediateAggregateQuery>>,
pub observers: Option<Vec<IntermediateObserver>>,
pub custom_scalars: Option<Vec<IntermediateScalar>>,
pub security: Option<Value>,
}Expand description
Intermediate schema - universal format from all language libraries
Fields§
§version: StringSchema format version
types: Vec<IntermediateType>GraphQL object types
enums: Vec<IntermediateEnum>GraphQL enum types
input_types: Vec<IntermediateInputObject>GraphQL input object types
interfaces: Vec<IntermediateInterface>GraphQL interface types (per GraphQL spec §3.7)
unions: Vec<IntermediateUnion>GraphQL union types (per GraphQL spec §3.10)
queries: Vec<IntermediateQuery>GraphQL queries
mutations: Vec<IntermediateMutation>GraphQL mutations
subscriptions: Vec<IntermediateSubscription>GraphQL subscriptions
fragments: Option<Vec<IntermediateFragment>>GraphQL fragments (reusable field selections)
directives: Option<Vec<IntermediateDirective>>GraphQL directive definitions (custom directives)
fact_tables: Option<Vec<IntermediateFactTable>>Analytics fact tables (optional)
aggregate_queries: Option<Vec<IntermediateAggregateQuery>>Analytics aggregate queries (optional)
observers: Option<Vec<IntermediateObserver>>Observer definitions (database change event listeners)
custom_scalars: Option<Vec<IntermediateScalar>>Custom scalar type definitions (Phase 5: SDK Support)
Defines custom GraphQL scalar types with validation rules. Custom scalars can be defined in Python, TypeScript, Java, Go, and Rust SDKs, and are compiled into the CompiledSchema’s CustomTypeRegistry.
security: Option<Value>Security configuration (from fraiseql.toml) Compiled from the security section of fraiseql.toml at compile time. Optional - if not provided, defaults are used.
Trait Implementations§
Source§impl Clone for IntermediateSchema
impl Clone for IntermediateSchema
Source§fn clone(&self) -> IntermediateSchema
fn clone(&self) -> IntermediateSchema
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more