Priority: HIGH
Package: @saga-ed/soa-api-core
Coach ref: hipponot/nimbee#8035
The GQL server's Apollo context is hardcoded to {} in GQLServer. There is no way to inject per-request metadata (e.g., correlation IDs, auth context) into the resolver context without modifying the SOA package.
Requested changes:
- Accept an optional
contextFactory in GQLServer.init() or config
- The factory receives the Express
req/res and returns the Apollo context object
- Default to
{} for backwards compatibility
This unblocks request correlation in resolvers and is a prerequisite for auth context propagation.
Priority: HIGH
Package:
@saga-ed/soa-api-coreCoach ref: hipponot/nimbee#8035
The GQL server's Apollo context is hardcoded to
{}inGQLServer. There is no way to inject per-request metadata (e.g., correlation IDs, auth context) into the resolver context without modifying the SOA package.Requested changes:
contextFactoryinGQLServer.init()or configreq/resand returns the Apollo context object{}for backwards compatibilityThis unblocks request correlation in resolvers and is a prerequisite for auth context propagation.