feat(data-ana): python graphql federation subgraph with strawberry
- strawberry-graphql[asgi] dependency added - 13 Federation 2 types: ClassPerformance/StudentWeakness/Dashboards/Mastery/ErrorBook - 11 Query resolvers delegate to existing analytics/mastery services - RouterAuthMiddleware validates Router-Authorization header on /graphql - GraphQL endpoint mounted at /graphql alongside existing REST endpoints
This commit is contained in:
@@ -14,6 +14,8 @@ dependencies = [
|
||||
"grpcio-health-checking>=1.66.0",
|
||||
# protobuf 运行时(buf generate 生成的 stub 依赖)
|
||||
"protobuf>=5.28.0",
|
||||
# GraphQL Federation 2 子图(v2.1 M1,Apollo Router 组合)
|
||||
"strawberry-graphql[asgi]>=0.257.0",
|
||||
]
|
||||
|
||||
[tool.uv.sources]
|
||||
|
||||
Reference in New Issue
Block a user