Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix LuisAdapterRecognizer by correctly cloning the temporary TurnContext for adaptiing to legacy LuisRecognizer #4537

Merged
merged 5 commits into from
Sep 9, 2020

Conversation

tomlm
Copy link
Contributor

@tomlm tomlm commented Aug 27, 2020

Fixes #4536

Description

added TurnContext ctor which takes TurnContext to clone from and activity and which maintains all properties.

Testing

added tests

@tomlm tomlm requested review from chrimc62, gabog, johnataylor and a team as code owners August 27, 2020 23:12
@tomlm tomlm changed the title Tomlm/fix turn context clone Fix LuisAdapterRecognizer by correctly cloning the temporary TurnContext for adaptiing to legacy LuisRecognizer Aug 27, 2020
Copy link
Contributor

@chrimc62 chrimc62 left a comment

Choose a reason for hiding this comment

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

🕐

Copy link
Contributor

@chrimc62 chrimc62 left a comment

Choose a reason for hiding this comment

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

:shipit:

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.

LuisAdaptiveRecognizer incorrectly clones turncontext leading to middleware being ignored.
3 participants