feat(features): extend assertFeatureConformance to bind-dev-seed paths
This commit is contained in:
@@ -6,6 +6,8 @@ import {
|
||||
type ILogger,
|
||||
} from "@repo/core-shared/instrumentation";
|
||||
import type { BindContext } from "@repo/core-shared/di";
|
||||
import { assertFeatureConformance } from "@repo/core-shared/conformance";
|
||||
import { authManifest } from "../feature.manifest.js";
|
||||
import { authContainer } from "./container.js";
|
||||
import { AUTH_SYMBOLS } from "./symbols.js";
|
||||
import { MockUsersRepository } from "../infrastructure/repositories/users.repository.mock.js";
|
||||
@@ -152,4 +154,16 @@ export async function bindDevSeedAuth(ctx: BindContext): Promise<void> {
|
||||
// <gen:event-handlers>
|
||||
// <gen:jobs>
|
||||
// <gen:realtime-handlers>
|
||||
|
||||
// Boot-time conformance check (dev-seed mode).
|
||||
assertFeatureConformance(
|
||||
authContainer,
|
||||
authManifest,
|
||||
{
|
||||
signIn: AUTH_SYMBOLS.ISignInUseCase,
|
||||
signUp: AUTH_SYMBOLS.ISignUpUseCase,
|
||||
signOut: AUTH_SYMBOLS.ISignOutUseCase,
|
||||
},
|
||||
ctx,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user