Skip to content

feat(app): optional extra controllers in BaseNraAppModule - #102

Open
buzz-code wants to merge 1 commit into
mainfrom
claude/base-app-extra-controllers
Open

buzz-code wants to merge 1 commit into
mainfrom
claude/base-app-extra-controllers

Conversation

@buzz-code

Copy link
Copy Markdown
Owner

Part of buzz-code/ops#62

Adds an optional controllers array to BaseNraAppModuleOptions; the given controllers are registered after the shared AppController. Needed so a project can expose its own (e.g. API-key protected, @Public()) route without touching the shared app module again.

Purely additive: apps that do not pass controllers are unchanged, so no CONSUMER_CHANGES.md row.

Test: base-app.module.spec.ts covers the new option.


Generated by Claude Code

Adds an optional `controllers` array to BaseNraAppModuleOptions. The given
controllers are registered after the shared AppController. Purely additive:
projects that do not pass it behave exactly as before.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012GTicqeyaQ8prWTxxfKSrP
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