wangdl 5b0d105788
Some checks failed
Deploy API Server / build-and-unit (push) Successful in 34s
Deploy API Server / current-integration (push) Successful in 30s
Deploy API Server / backward-compat (push) Successful in 0s
Deploy API Server / m-ai-03-synthetic-e2e (push) Failing after 11s
Deploy API Server / deploy (push) Has been skipped
fix: use useClass instead of useFactory for RESULT_PROJECTORS multi-provider
The useFactory pattern returned the SyntheticResultProjector object directly
but NestJS multi-provider resolution didn't wrap it in an array, causing
'projectors is not iterable' in ProjectionExecutor. useClass is the standard
NestJS pattern for registering a class as a multi-provider element.

Also removed the redundant standalone SyntheticResultProjector provider
since useClass handles instantiation internally.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-21 12:00:27 +08:00
..
2026-05-29 20:03:40 +08:00