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

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

Open
KrzysztofPajak opened this issue Sep 4, 2023 · 2 comments
Labels
area/client/state kind/bug Something isn't working

Comments

@KrzysztofPajak
Copy link

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.

@KrzysztofPajak KrzysztofPajak added the kind/bug Something isn't working label Sep 4, 2023
@halspang
Copy link
Contributor

halspang commented Sep 7, 2023

Once this PR is merged, I think it should unblock you as you can deserialize the data yourself: #1116

Did you put the data in via the DaprClient as well? Or does this data exist in the statestore already?

@KrzysztofPajak
Copy link
Author

KrzysztofPajak commented Sep 11, 2023

@halspang The data exists in the store, but it would be great if we could put the binary data.
Thanks for the great work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/client/state kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants