feat(blog): bind binders accept (bus, queue) params
This commit is contained in:
@@ -6,6 +6,8 @@ import {
|
||||
type ITracer,
|
||||
type ILogger,
|
||||
} from "@repo/core-shared/instrumentation";
|
||||
import type { IEventBus } from "@repo/core-events";
|
||||
import type { IJobQueue } from "@repo/core-shared/jobs";
|
||||
import { blogContainer } from "./container";
|
||||
import { BLOG_SYMBOLS } from "./symbols";
|
||||
import { ArticlesRepository } from "../infrastructure/repositories/articles.repository";
|
||||
@@ -20,6 +22,8 @@ export function bindProductionBlog(
|
||||
config: SanitizedConfig,
|
||||
tracer: ITracer,
|
||||
logger: ILogger,
|
||||
bus: IEventBus,
|
||||
queue: IJobQueue,
|
||||
): void {
|
||||
// Bind shared instrumentation into feature container
|
||||
if (blogContainer.isBound(INSTRUMENTATION_SYMBOLS.TRACER)) {
|
||||
@@ -131,6 +135,10 @@ export function bindProductionBlog(
|
||||
),
|
||||
),
|
||||
);
|
||||
// bus + queue are accept-and-forward in Phase 6; consumed by Phase 7 generator
|
||||
// output at the <gen:event-handlers> / <gen:jobs> anchors below.
|
||||
void bus;
|
||||
void queue;
|
||||
// <gen:event-handlers>
|
||||
// <gen:jobs>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user