Skip to content

Default Type for Queue needs to be byte[] #1459

@MikeStall

Description

@MikeStall

This was regressed with 254a9b6 , which changed the default type to JObject. but that breaks byte[].

Script's node marshaller can convert JObject, string --> byte[], so byte[] is the "safest" common denominator.
Note that in JScript, you can skip specifying the 'datatype' in function.json on an output binding and it will just accept anything and convert to byte[].

This is causing the QueueTriggerByteArray test in Script to fail.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions