Skip to content

refactor(core): extract duplicate isDebugMode() into shared injector helper - #17637

Open
jyx-07 wants to merge 1 commit into
nestjs:masterfrom
jyx-07:refactor/extract-is-debug-mode
Open

refactor(core): extract duplicate isDebugMode() into shared injector helper#17637
jyx-07 wants to merge 1 commit into
nestjs:masterfrom
jyx-07:refactor/extract-is-debug-mode

Conversation

@jyx-07

@jyx-07 jyx-07 commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Closes #17636

isDebugMode() was defined as a byte-identical private method
in both Injector and InstanceWrapper. Extracted to
packages/core/injector/helpers/is-debug-mode.util.ts
and imported by both. No behavior change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor extract duplicated isDebugMode() helper in packages/core/injector

2 participants