microsoft / teams-ai

SDK focused on building AI based applications and extensions for Microsoft Teams and other Bot Framework channels
MIT License
443 stars 185 forks source link

[Bug]: TurnStateEntry.replace does not mark the entry as not deleted #1151

Open blackchoey opened 10 months ago

blackchoey commented 10 months ago

Language

Javascript/Typescript, C#, Python

Version

latest

Description

If I call TurnStateEntry.delete() first, then call TurnStateEntry.replace(...), TurnStateEntry.isDeleted is still true. The expected value should be false based on the TurnStateEntry.value's behavior.

Reproduction Steps

1. Call TurnStateEntry.delete()
2. Call TurnStateEntry.replace(...)
3. Call TurnStateEntry.isDeleted
blackchoey commented 9 months ago

Python SDK fixed this in #1321