dapr / dapr/dotnet-sdk

Issue with Deserialization in GetStateAsync Method of DaprClient Library when Fetching XML Data from Blob Storage

Open
#1,143 2 comments 0 reactions 0 assignees View on GitHub
area/client/state kind/bug
Dominant language
C#
Stars
1.2k
Forks
378
Avg merge
2d 1h
Merged PRs (30d)
6

Description

I am currently experiencing an issue with the GetStateAsync method from the DaprClient library (C#). When I fetch data from blob storage, which returns XML data, the JsonSerializer does not support XML deserialization, thus causing a problem.
Is there a workaround or solution to retrieve these data? I would appreciate any help or guidance you could provide to resolve this issue. Thank you.

Contributor guide

Open the contributing guide

Research direction

Start at the DaprClient GetStateAsync method and reproduce the case where blob storage returns XML data. Trace the JsonSerializer deserialization path and determine whether the expected outcome is supported retrieval, a documented workaround, or a defined error; the issue provides no test file or specific code location.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api, backend, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.