Skip to content

Commit 327be10

Browse files
azure-sdkUbuntuJoshLove-msft
authored
Update UnbrandedGeneratorVersion to 1.0.0-alpha.20250808.1 (#51849)
* Update UnbrandedGeneratorVersion to 1.0.0-alpha.20250808.1 * fix build --------- Co-authored-by: Ubuntu <cloudtest@459a90a4c00000A.tkkhlgj2u51eln3mcb0lygmbye.dx.internal.cloudapp.net> Co-authored-by: jolov <[email protected]>
1 parent 1438a05 commit 327be10

File tree

6 files changed

+68
-69
lines changed

6 files changed

+68
-69
lines changed

eng/Packages.Data.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@
455455

456456
<PropertyGroup>
457457
<TestProxyVersion>1.0.0-dev.20250805.1</TestProxyVersion>
458-
<UnbrandedGeneratorVersion>1.0.0-alpha.20250807.4</UnbrandedGeneratorVersion>
458+
<UnbrandedGeneratorVersion>1.0.0-alpha.20250808.1</UnbrandedGeneratorVersion>
459459
<AzureGeneratorVersion>1.0.0-alpha.20250729.4</AzureGeneratorVersion>
460460
</PropertyGroup>
461461
</Project>

eng/http-client-csharp-emitter-package-lock.json

Lines changed: 57 additions & 59 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

eng/http-client-csharp-emitter-package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"main": "dist/src/index.js",
33
"dependencies": {
44
"client-plugin": "file:../../../../eng/packages/plugins/client",
5-
"@typespec/http-client-csharp": "1.0.0-alpha.20250807.4"
5+
"@typespec/http-client-csharp": "1.0.0-alpha.20250808.1"
66
},
77
"devDependencies": {
88
"@azure-tools/typespec-azure-core": "0.59.0",
@@ -11,6 +11,7 @@
1111
"@typespec/http": "1.3.0",
1212
"@typespec/openapi": "1.3.0",
1313
"@typespec/rest": "0.73.0",
14+
"@typespec/streams": "0.73.0",
1415
"@typespec/versioning": "0.73.0",
1516
"@azure-tools/typespec-azure-rulesets": "0.59.0",
1617
"@azure-tools/typespec-azure-resource-manager": "0.59.0"

eng/packages/http-client-csharp/generator/Azure.Generator/src/AzureTypeFactory.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,15 +104,15 @@ public class AzureTypeFactory : ScmTypeFactory
104104

105105
/// <inheritdoc/>
106106
#pragma warning disable AZC0014 // Avoid using banned types in public API
107-
public override ValueExpression DeserializeJsonValue(CSharpType valueType, ScopedApi<JsonElement> element, SerializationFormat format)
107+
public override ValueExpression DeserializeJsonValue(Type valueType, ScopedApi<JsonElement> element, SerializationFormat format)
108108
#pragma warning restore AZC0014 // Avoid using banned types in public API
109109
{
110110
var expression = DeserializeJsonValueCore(valueType, element, format);
111111
return expression ?? base.DeserializeJsonValue(valueType, element, format);
112112
}
113113

114114
private ValueExpression? DeserializeJsonValueCore(
115-
CSharpType valueType,
115+
Type valueType,
116116
ScopedApi<JsonElement> element,
117117
SerializationFormat format)
118118
{
@@ -122,7 +122,7 @@ public override ValueExpression DeserializeJsonValue(CSharpType valueType, Scope
122122
}
123123

124124
/// <inheritdoc/>
125-
public override MethodBodyStatement SerializeJsonValue(CSharpType valueType, ValueExpression value, ScopedApi<Utf8JsonWriter> utf8JsonWriter, ScopedApi<ModelReaderWriterOptions> mrwOptionsParameter, SerializationFormat serializationFormat)
125+
public override MethodBodyStatement SerializeJsonValue(Type valueType, ValueExpression value, ScopedApi<Utf8JsonWriter> utf8JsonWriter, ScopedApi<ModelReaderWriterOptions> mrwOptionsParameter, SerializationFormat serializationFormat)
126126
{
127127
var statement = SerializeValueTypeCore(serializationFormat, value, valueType, utf8JsonWriter, mrwOptionsParameter);
128128
return statement ?? base.SerializeJsonValue(valueType, value, utf8JsonWriter, mrwOptionsParameter, serializationFormat);

eng/packages/http-client-csharp/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

eng/packages/http-client-csharp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"dist/generator/**"
3939
],
4040
"dependencies": {
41-
"@typespec/http-client-csharp": "1.0.0-alpha.20250807.4"
41+
"@typespec/http-client-csharp": "1.0.0-alpha.20250808.1"
4242
},
4343
"devDependencies": {
4444
"@azure-tools/azure-http-specs": "0.1.0-alpha.25",

0 commit comments

Comments
 (0)