Skip to content

fix: export default handler controllers#2733

Merged
kettanaito merged 1 commit into
mainfrom
fix/export-handler-controllers
Apr 29, 2026
Merged

fix: export default handler controllers#2733
kettanaito merged 1 commit into
mainfrom
fix/export-handler-controllers

Conversation

@kettanaito
Copy link
Copy Markdown
Member

Makes it easier for users to create their own handler controllers.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 29, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 5971dbe4-ef87-44d1-b427-c99e0bc59949

📥 Commits

Reviewing files that changed from the base of the PR and between 7fd02bd and 36edaa6.

📒 Files selected for processing (2)
  • src/core/experimental/index.ts
  • src/node/index.ts

📝 Walkthrough

Walkthrough

Two index files are updated to re-export handler controller classes. HandlersController and InMemoryHandlersController are exposed from src/core/experimental/index.ts, while AsyncHandlersController is exposed from src/node/index.ts.

Changes

Cohort / File(s) Summary
Handler Controller Re-exports
src/core/experimental/index.ts, src/node/index.ts
Extended public API by re-exporting HandlersController, InMemoryHandlersController from handlers-controller module, and AsyncHandlersController from async-handlers-controller module.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 Export, export, hoorah, hoorah!
New handlers see the light of day,
Through index gates they find their way,
Controllers bundled, neat and bright,
A rabbit's code, a perfect sight!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: exporting handler controller classes to make them available to users.
Description check ✅ Passed The description is related to the changeset, explaining the purpose of exporting handler controllers for user convenience.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/export-handler-controllers

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
Review rate limit: 7/8 reviews remaining, refill in 7 minutes and 30 seconds.

Comment @coderabbitai help to get the list of available commands and usage tips.

@kettanaito kettanaito merged commit f8dc874 into main Apr 29, 2026
22 checks passed
@kettanaito kettanaito deleted the fix/export-handler-controllers branch April 29, 2026 15:03
@kettanaito
Copy link
Copy Markdown
Member Author

Released: v2.14.1 🎉

This has been released in v2.14.1.

Get these changes by running the following command:

npm i msw@latest

Predictable release automation by Release.

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.

1 participant