File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import { TransactionContext } from './transaction.context';
18
18
imports : [ EdgeDBSchemaAstModule ] ,
19
19
providers : [
20
20
{
21
- provide : 'DEFAULT_OPTIONS' ,
21
+ provide : Options ,
22
22
useValue : Options . defaults ( ) . withConfig ( {
23
23
// Bump from 1 min, as needed by test suite.
24
24
// It's probably because we open & do more with in the transaction
Original file line number Diff line number Diff line change 1
- import { Inject , Injectable , OnModuleDestroy } from '@nestjs/common' ;
1
+ import { Injectable , OnModuleDestroy } from '@nestjs/common' ;
2
2
import { AsyncLocalStorage } from 'async_hooks' ;
3
3
import {
4
4
BehaviorSubject ,
@@ -27,7 +27,7 @@ export class OptionsContext
27
27
{
28
28
private readonly root : OptionsLayer ;
29
29
30
- constructor ( @ Inject ( 'DEFAULT_OPTIONS' ) root : Options ) {
30
+ constructor ( root : Options ) {
31
31
super ( ) ;
32
32
this . root = {
33
33
options$ : new BehaviorSubject ( root ) ,
You can’t perform that action at this time.
0 commit comments