sz-orm-graphql 4.9.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
[package]

name = "sz-orm-graphql"

description = "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)"

version.workspace = true

edition.workspace = true

authors.workspace = true

license.workspace = true

repository.workspace = true

homepage.workspace = true

keywords.workspace = true

categories.workspace = true



[features]

default = []

real = ["dep:async-graphql", "dep:async-graphql-axum", "dep:axum", "dep:tracing"]

# db-resolver: 棰勭暀 feature 寮€鍏筹紝褰撳墠 DB resolver 锟?`real` feature 瑕嗙洊

# 锛坮esolver trait 鐢辨湰鍖呭畾涔夛紝浣跨敤 boxed future锛屾棤闇€澶栭儴渚濊禆锛夛拷?

db-resolver = []

# M3: GraphQL N+1 鑷姩娑堥櫎锛圖ataLoader锟?

graphql-n1 = ["dep:parking_lot"]

# M3: 绫诲瀷锟?Schema 鑷姩鐢熸垚锛堥渶杩囩▼瀹忔彁鍙栧瓧娈靛厓鏁版嵁锟?

graphql-schema-gen = ["dep:sz-orm-macros"]

# M3: 鏌ヨ澶嶆潅搴﹂檺锟?

graphql-complexity = []

# v4.0.0 M8锛欸raphQL 娣卞害闆嗘垚锛坅sync-graphql Schema + DataLoader + Subscription + Relay + Federation + 宸ュ崟鍖栭敊璇級

async-graphql-integration = ["real", "graphql-n1", "dep:sz-orm-queue"]





[package.metadata.cargo-machete]

ignored = ['sz-orm-macros', 'sz-orm-queue']

[dependencies]

serde = { version = "1.0", features = ["derive"] }

serde_json = "1.0"

tokio = { workspace = true }

tracing = { workspace = true, optional = true }

async-graphql = { version = "7", optional = true }

async-graphql-axum = { version = "7", optional = true }

axum = { version = "0.8", optional = true }

parking_lot = { workspace = true, optional = true }

sz-orm-macros = { version = "4.1.0", path = "../sz-orm-macros", optional = true }

# v4.0.0 M8锛欳DC Subscription 鏁版嵁婧愶紙async-graphql-integration feature锟?

sz-orm-queue = { version = "4.1.0", path = "../sz-orm-queue", optional = true }



[lints]

workspace = true



[[test]]

name = "async_graphql_integration_test"

required-features = ["async-graphql-integration"]