Skip to content

Conversation

@rido-min
Copy link
Member

The CompatMiddlware Adapter was creating a new TurnContext, and that created problems with Middleware.

Instead of trying to adapt the middlware, we can just run the BF Middleware pipeline

- Make MyCompatMiddleware async and send a message to user
- Switch to MiddlewareSet.ReceiveActivityWithStatusAsync in CompatAdapter
- Remove manual middleware adaptation and CompatAdapterMiddleware.cs
- Note: MyCompatMiddleware is now registered twice in Program.cs
@rido-min rido-min requested a review from singhk97 January 23, 2026 23:44
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