Expand description
§SZ-ORM GraphQL — GraphQL Schema Parsing and Querying
Provides GraphQL Schema definition, type/field/query/mutation construction and query execution,
connects to real GraphQL engine when real feature is enabled.
§Main Types
GraphQLSchema— Schema containerGraphQLType/GraphQLField— Type and field definitionresolver::DbResolver— Real DB resolver trait (P2-1 fix C-3: injectable real data source)
§P2-1 Fix C-3: DB Resolver Injection
GraphQLServer::with_db_resolver allows the caller to inject a real DB resolver,
when enabled, GraphQL root fields query the real database via resolver asynchronously,
falls back to mock data when not injected (backward compatible).
Modules§
- extensions
- GraphQL 深度扩展功能
- resolver
- DB Resolver trait — P2-1 修复 C-3:真实 DB resolver 集成