Skip to content

Simplify BotApplication constructors with BotApplicationOptions#342

Merged
singhk97 merged 3 commits intonext/corefrom
next/core-refactor-app
Feb 23, 2026
Merged

Simplify BotApplication constructors with BotApplicationOptions#342
singhk97 merged 3 commits intonext/corefrom
next/core-refactor-app

Conversation

@singhk97
Copy link
Collaborator

@singhk97 singhk97 commented Feb 23, 2026

Summary

  • Decoupling IConfiguration from the TeamsBotApplication and BotApplication classes since it's not clear what configurations are required.

Test plan

  • Verify bot starts and logs the correct AppID at startup
  • Test with each config format: MicrosoftAppId, CLIENT_ID, and AzureAd:ClientId
  • Confirm BotApplicationOptions.AppId defaults to empty string when no config key is present

…on + sectionName with BotApplicationOptions

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@singhk97 singhk97 changed the base branch from main to next/core February 23, 2026 18:48
@singhk97 singhk97 marked this pull request as ready for review February 23, 2026 20:53
@singhk97 singhk97 merged commit f1eebce into next/core Feb 23, 2026
3 checks passed
@singhk97 singhk97 deleted the next/core-refactor-app branch February 23, 2026 20:59
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