Skip to content

Commit

Permalink
dfs
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoobes committed Feb 17, 2024
2 parents 48f9f6e + f8b69ae commit e89b918
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/ioc/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useContainer } from './dependency-injection';
import type { CoreDependencies, DependencyConfiguration } from '../../types/ioc';
import { CoreContainer } from './container';
import { Result } from 'ts-results-es';
import { DefaultServices } from '../_internal';
import { __Services } from '../_internal';
import { AnyFunction } from '../../types/utility';
import type { Logging } from '../contracts/logging';

Expand Down Expand Up @@ -127,7 +127,7 @@ function composeRoot(
//container should have no client or logger yet.
const hasLogger = conf.exclude?.has('@sern/logger');
if (!hasLogger) {
__add_container('@sern/logger', new DefaultServices.DefaultLogging);
__add_container('@sern/logger', new __Services.DefaultLogging);
}
//Build the container based on the callback provided by the user
conf.build(container as CoreContainer<Omit<CoreDependencies, '@sern/client'>>);
Expand All @@ -151,7 +151,7 @@ export async function makeDependencies<const T extends Dependencies>
&& !containerSubject.hasKey('@sern/logger');

if(includeLogger) {
__add_container('@sern/logger', new DefaultServices.DefaultLogging);
__add_container('@sern/logger', new __Services.DefaultLogging);
}

containerSubject.ready();
Expand Down

0 comments on commit e89b918

Please sign in to comment.