-
Notifications
You must be signed in to change notification settings - Fork 53
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
Deserialization converts JsonString to Object #773
Comments
@davidmrdavid or @AnatoliB would either of you be able to move this to the appropriate PowerShell repository and triage accordingly? |
Thanks @cgillum. As I've noted in another thread - this is a known problem in the Durable Functions for PowerShell SDK, but unfortunately we can't fix it without introducing a breaking change. I have fixed this in the code for our next major release, which we're currently preparing. I can't give an exact estimate for when this will be out, but if everything goes well it shouldn't be more than a handful of months. |
@snerte Could you please post the content of your $jsonInput, so that we can reproduce the issue? Thank you. |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. |
Reproduction steps
I am experiencing this issue while calling an
Invoke-ActivityFunction
from an orchestration function. I have taken control over serialization and deserialization.Orchestrator:
Output from Write-Host in
Orchestrator
:INFORMATION: Calling ActivityFunction with: { (...) some long JSON string }
So I know my deserialization works.
ActivityFunction:
Current behaviour
My Write-Host in
ActivityFunction
outputs:INFORMATION: SaveCustomerEnvironmentCheckResult: Got JSON input System.Collections.Hashtable
.From the serialization I get this exception, which makes sense if the value is not valid JSON:
Expected behaviour
My Write-Host in
ActivityFunction
outputs:INFORMATION: SaveCustomerEnvironmentCheckResult: Got JSON input { (...) some long JSON string }
.Originally posted by @snerte in Azure/azure-functions-durable-extension#1922 (comment)
The text was updated successfully, but these errors were encountered: