Skip to content

fix(express): 🐛 Resolve external controllers without DI noise - #35

Merged
haskou merged 2 commits into
mainfrom
fix/express-controller-di-fallback
Jun 30, 2026
Merged

fix(express): 🐛 Resolve external controllers without DI noise#35
haskou merged 2 commits into
mainfrom
fix/express-controller-di-fallback

Conversation

@haskou

@haskou haskou commented Jun 30, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add a controller-aware resolver for ExpressKernelServer routing-controllers integration.

  • Fallback to cached plain controller instances only when a known controller class itself is missing from kernel DI.

  • Keep non-controller missing services and dependency resolution failures visible.

  • Document external controller DI fallback behavior.

  • Validation

  • yarn typecheck

  • yarn lint

  • yarn test:coverage (100%)

  • yarn docs:build

  • yarn format:check

  • yarn --cwd example typecheck

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ffbe20d85b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/adapters/ui/express/ExpressControllerResolver.ts Outdated
@haskou
haskou force-pushed the fix/express-controller-di-fallback branch from ffbe20d to 2f352dc Compare June 30, 2026 11:53
@codecov-commenter

codecov-commenter commented Jun 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@haskou
haskou force-pushed the fix/express-controller-di-fallback branch 3 times, most recently from d0cbeb3 to 84c34e8 Compare June 30, 2026 12:45
@haskou
haskou force-pushed the fix/express-controller-di-fallback branch from 84c34e8 to 4fcafdf Compare June 30, 2026 12:55
@haskou

haskou commented Jun 30, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4fcafdf294

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/adapters/ui/express/ExpressKernelServer.ts
@haskou
haskou merged commit bd580e3 into main Jun 30, 2026
2 checks passed
@haskou
haskou deleted the fix/express-controller-di-fallback branch June 30, 2026 13:38
github-actions Bot added a commit that referenced this pull request Jun 30, 2026
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.

2 participants