Skip to content

Commit 5d82dd4

Browse files
committed
fix incorrect working --route-types with --modular option (#207)
* chore: try to fix modular route types problem * fix: --route-types with --modular option; fix: better format namespace name (--route-types)
1 parent 188162c commit 5d82dd4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ const { generateOutputFiles } = require("./output");
2121
const formatFileContent = require("./formatFileContent");
2222
const { eventLog, successLog } = require("./logger");
2323

24+
const { SCHEMA_TYPES } = constants;
25+
2426
module.exports = {
2527
constants: constants,
2628
generateApi: ({

0 commit comments

Comments
 (0)