You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Botstate.ts there is a problem with how accessors are created:
publiccreateProperty<T=any>(name: string): StatePropertyAccessor<T>{if(this.properties.has(name)){thrownewError(`BotState.createProperty(): a property named '${name}' already exists.`);}constprop: BotStatePropertyAccessor<T>=newBotStatePropertyAccessor<T>(this,name);this.properties.set(name,prop);returnprop;}
The dictionary that's used to gate the accessor creation is not needed. This prevents multiple accessors from being created, and forces bots to use global static accessors.
This signifigantly differs from the C# code, which allows these to be created at-will:
This difference bleeds into the samples in unexpected ways, and has caused @johnataylor to 💥 💥 💥. He's been 😾 as he tries to get the sidecar worked wrapped up.
The text was updated successfully, but these errors were encountered:
All Versions.
In Botstate.ts there is a problem with how accessors are created:
The dictionary that's used to gate the accessor creation is not needed. This prevents multiple accessors from being created, and forces bots to use global static accessors.
This signifigantly differs from the C# code, which allows these to be created at-will:
This difference bleeds into the samples in unexpected ways, and has caused @johnataylor to 💥 💥 💥. He's been 😾 as he tries to get the sidecar worked wrapped up.
The text was updated successfully, but these errors were encountered: