Initialize new GrpcModelBindingData & bump Sdk to 1.8.0 preview 3 (#1150)
This commit is contained in:
Родитель
2c1b3a8ae6
Коммит
6bb0845c3f
|
@ -1,4 +1,6 @@
|
|||
### Release notes
|
||||
<!-- Please add your release notes in the following format:
|
||||
- My change description (#PR/#issue)
|
||||
-->
|
||||
-->
|
||||
|
||||
- Bump protobuf version to v1.5.9-protofile (#1148)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
<PropertyGroup>
|
||||
<MinorProductVersion>8</MinorProductVersion>
|
||||
<VersionSuffix>-preview2</VersionSuffix>
|
||||
<VersionSuffix>-preview3</VersionSuffix>
|
||||
<TargetFrameworks>netstandard2.0;net472</TargetFrameworks>
|
||||
<PackageId>Microsoft.Azure.Functions.Worker.Sdk</PackageId>
|
||||
<Description>This package provides development time support for the Azure Functions .NET Worker.</Description>
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
## Release notes
|
||||
<!-- Please add your release notes in the following format:
|
||||
- My change description (#PR/#issue)
|
||||
-->
|
||||
-->
|
||||
|
||||
- Support sdk-type binding reference type (#1107)
|
||||
|
|
|
@ -124,7 +124,7 @@ namespace Microsoft.Azure.Functions.Worker.Grpc.Features
|
|||
TypedData.DataOneofCase.CollectionString => typedData.CollectionString.String,
|
||||
TypedData.DataOneofCase.CollectionDouble => typedData.CollectionDouble.Double,
|
||||
TypedData.DataOneofCase.CollectionSint64 => typedData.CollectionSint64.Sint64,
|
||||
TypedData.DataOneofCase.ModelBindingData => typedData.ModelBindingData,
|
||||
TypedData.DataOneofCase.ModelBindingData => new GrpcModelBindingData(typedData.ModelBindingData),
|
||||
_ => throw new NotSupportedException($"{typedData.DataCase} is not supported."),
|
||||
};
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче