From 066b6734d00cd27daed934027bbd8b72ae9ad859 Mon Sep 17 00:00:00 2001 From: campersau Date: Fri, 21 Jan 2022 15:51:06 +0100 Subject: [PATCH] chore(dotnet): generate byte[] for binary properties in generator (#11539) --- utils/generate_dotnet_channels.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/generate_dotnet_channels.js b/utils/generate_dotnet_channels.js index ef0e9e1771..64ffc248a4 100644 --- a/utils/generate_dotnet_channels.js +++ b/utils/generate_dotnet_channels.js @@ -62,7 +62,7 @@ function inlineType(type, indent = '', wrapEnums = false) { if (optional) type = type.substring(0, type.length - 1); if (type === 'binary') - return { ts: 'string', scheme: 'tString', optional }; + return { ts: 'byte[]', scheme: 'tArray(tByte)', optional }; if (type === 'json') return { ts: 'any', scheme: 'tAny', optional }; if (['string', 'boolean', 'number', 'undefined'].includes(type)) {