sz-orm-graphql 5.0.0

GraphQL schema generator and server: SDL generation, model-driven Query/Mutation, optional async-graphql runtime with injectable DB resolver (P2-1: real DB resolver support; falls back to mock data when no resolver is injected)
Documentation

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 container
  • [GraphQLType] / [GraphQLField] — Type and field definition
  • [resolver::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).