Skip to main content

Crate sz_orm_graphql

Crate sz_orm_graphql 

Source
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

§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 集成

Structs§

GraphQLField
GraphQLSchema
GraphQLSchemaGenerator
GraphQLServer
GraphQLType