Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

Conversation

@fangyangci
Copy link
Contributor

@fangyangci fangyangci commented Dec 31, 2023

Fixes #6723

Description

The streamingSession is using System.Text.Json to Deserialize string.
But, in libraries/Microsoft.Bot.Streaming/Payloads/Models/StreamDescription.cs (line 28), it using JsonProperty.
So, all the StreamContent type property will be lost.

Specific Changes

Using Newtonsoft.Json Instead of System.Text.Json.

Testing

Test locally, with attachment transfer to bot by websocket.

@fangyangci fangyangci requested a review from a team as a code owner December 31, 2023 15:01
@tracyboehrer tracyboehrer merged commit c0917dd into microsoft:main Jan 8, 2024
tracyboehrer pushed a commit that referenced this pull request Jan 24, 2024
* fixUSGovSingleTenant

* Add UT

* AseChannelValidation

* Add UT

* Rollback AuthTenant Property Name

* The Ctor do contains the old ones, Add Ctor to ApiCompatBaseline

* fix a coding mistake

* fix json Serializer bug

* 1

* fix setting
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

StreamingSession json serializer bug (Lost property ContentType).

2 participants