Skip to content

Commit 923ee31

Browse files
Merge pull request #84 from bootgs/max/next
fix: add import reflect-metadata
2 parents a37c432 + f6a8b7e commit 923ee31

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/controller/decorators/Controller.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
import {
2-
CONTROLLER_OPTIONS_METADATA,
3-
CONTROLLER_TYPE_METADATA,
4-
CONTROLLER_WATERMARK
5-
} from "../../domain/constants";
1+
import "reflect-metadata";
2+
import { CONTROLLER_OPTIONS_METADATA, CONTROLLER_TYPE_METADATA, CONTROLLER_WATERMARK } from "../../domain/constants";
63

74
/**
85
* Controller options.

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import "reflect-metadata";
12
import { BootApplication, BootApplicationFactory } from "./controller";
23

34
export * from "./controller";

src/repository/MetadataRepository.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import "reflect-metadata";
2+
13
/**
24
* Repository for managing metadata across the framework.
35
*/

0 commit comments

Comments
 (0)