Azure / Azure/durabletask

Problem with byte[] as input data type for Activity

Open
#313 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.7k
Forks
335
Avg merge
2d 23h
Merged PRs (30d)
6

Description

If I create an Activity that accepts as input parameter a byte[] array it fails with (OrchestrationState Output Property value):

**"Unexpected character encountered while parsing value: {. Path '', line 1, position 1."**

The input parameter is:
System.Text.Encoding.UTF8.GetBytes("blablabla")

but in OrchestrationState Input Property it is set as:

**{"$type":"System.Byte[], mscorlib","$value":"aHR0cHM6Ly9kdGZnZW5lcmFsLmJsb2IuY29yZS53aW5kb3dzLm5ldC9zYW1wbGVzL0luc2NsZWFyRGV2ZWxvcGVyUG9ydGFsSW50cm8ucGRm"}**

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.