@azure-typespec/http-client-csharp-mgmt 1.0.0-alpha.20260330.2 → 1.0.0-alpha.20260331.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generator/Azure.Generator.Management.deps.json +2 -2
- package/dist/generator/Azure.Generator.Management.dll +0 -0
- package/dist/generator/Azure.Generator.Management.pdb +0 -0
- package/dist/generator/Azure.Generator.Management.xml +30 -0
- package/dist/generator/net10.0/Azure.Generator.Management.deps.json +2 -2
- package/dist/generator/net10.0/Azure.Generator.Management.dll +0 -0
- package/dist/generator/net10.0/Azure.Generator.Management.pdb +0 -0
- package/dist/generator/net10.0/Azure.Generator.Management.xml +30 -0
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"compilationOptions": {},
|
|
7
7
|
"targets": {
|
|
8
8
|
".NETCoreApp,Version=v10.0": {
|
|
9
|
-
"Azure.Generator.Management/1.0.0-alpha.
|
|
9
|
+
"Azure.Generator.Management/1.0.0-alpha.20260331.1": {
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"Azure.Core": "1.52.0",
|
|
12
12
|
"Azure.Generator": "1.0.0-alpha.20260320.2",
|
|
@@ -694,7 +694,7 @@
|
|
|
694
694
|
}
|
|
695
695
|
},
|
|
696
696
|
"libraries": {
|
|
697
|
-
"Azure.Generator.Management/1.0.0-alpha.
|
|
697
|
+
"Azure.Generator.Management/1.0.0-alpha.20260331.1": {
|
|
698
698
|
"type": "project",
|
|
699
699
|
"serviceable": false,
|
|
700
700
|
"sha512": ""
|
|
Binary file
|
|
Binary file
|
|
@@ -814,6 +814,20 @@
|
|
|
814
814
|
<param name="resourceName">The PascalCase resource name.</param>
|
|
815
815
|
<returns>The collection method name.</returns>
|
|
816
816
|
</member>
|
|
817
|
+
<member name="M:Azure.Generator.Management.Visitors.FlattenPropertyVisitor.FixBackwardCompatOverloads(System.Collections.Generic.IReadOnlyList{Microsoft.TypeSpec.Generator.Providers.MethodProvider})">
|
|
818
|
+
<summary>
|
|
819
|
+
Fixes backward-compat overload methods that call primary model factory methods.
|
|
820
|
+
After flattening reorders the primary method's parameters, the positional arguments
|
|
821
|
+
in these overloads may be in the wrong order. This method rebuilds the argument list
|
|
822
|
+
to match the primary method's current parameter order.
|
|
823
|
+
</summary>
|
|
824
|
+
</member>
|
|
825
|
+
<member name="M:Azure.Generator.Management.Visitors.FlattenPropertyVisitor.IsBackwardCompatMethod(Microsoft.TypeSpec.Generator.Providers.MethodProvider)">
|
|
826
|
+
<summary>
|
|
827
|
+
Checks if a method is a backward-compatibility overload by looking for the
|
|
828
|
+
[EditorBrowsable(EditorBrowsableState.Never)] attribute on its signature.
|
|
829
|
+
</summary>
|
|
830
|
+
</member>
|
|
817
831
|
<member name="M:Azure.Generator.Management.Visitors.FlattenPropertyVisitor.TryGetFlattenedModelType(Microsoft.TypeSpec.Generator.Primitives.CSharpType,System.Collections.Generic.Dictionary{System.String,System.Collections.Generic.List{Azure.Generator.Management.Visitors.FlattenPropertyVisitor.FlattenPropertyInfo}}@)">
|
|
818
832
|
<summary>
|
|
819
833
|
Looks up the flattened model type map for the given type, also checking base types
|
|
@@ -840,6 +854,22 @@
|
|
|
840
854
|
<param name="targetInternalProperty">The internal property to look for in the chain</param>
|
|
841
855
|
<returns>True if the internal property is in the flattening chain</returns>
|
|
842
856
|
</member>
|
|
857
|
+
<member name="M:Azure.Generator.Management.Visitors.InheritableSystemObjectModelVisitor.FixSerializationReturnTypes(Microsoft.TypeSpec.Generator.Providers.ModelProvider)">
|
|
858
|
+
<summary>
|
|
859
|
+
Fixes the return type of serialization override methods (PersistableModelCreateCore,
|
|
860
|
+
JsonModelCreateCore) to use the system base type (e.g., ResourceData) instead of the
|
|
861
|
+
immediate parent type. Without this, the framework generates overrides with
|
|
862
|
+
model.Type.BaseType as the return type, which can produce a covariant return type
|
|
863
|
+
(e.g., returning CustomPatchBase instead of ResourceData). Covariant returns are not
|
|
864
|
+
supported on .NET Framework.
|
|
865
|
+
</summary>
|
|
866
|
+
</member>
|
|
867
|
+
<member name="M:Azure.Generator.Management.Visitors.InheritableSystemObjectModelVisitor.FindSystemBaseType(Microsoft.TypeSpec.Generator.Providers.ModelProvider)">
|
|
868
|
+
<summary>
|
|
869
|
+
Walks up the model hierarchy to find the system base type (e.g., ResourceData)
|
|
870
|
+
that the virtual serialization methods use as their return type.
|
|
871
|
+
</summary>
|
|
872
|
+
</member>
|
|
843
873
|
<member name="M:Azure.Generator.Management.Visitors.InheritableSystemObjectModelVisitor.RemoveDuplicatePropertiesAndStripVirtual(Microsoft.TypeSpec.Generator.Providers.ModelProvider,Microsoft.TypeSpec.Generator.Providers.ModelProvider,System.Collections.Generic.HashSet{System.String})">
|
|
844
874
|
<summary>
|
|
845
875
|
Removes properties with 'new' modifier or matching base property names from the model,
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"compilationOptions": {},
|
|
7
7
|
"targets": {
|
|
8
8
|
".NETCoreApp,Version=v10.0": {
|
|
9
|
-
"Azure.Generator.Management/1.0.0-alpha.
|
|
9
|
+
"Azure.Generator.Management/1.0.0-alpha.20260331.1": {
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"Azure.Core": "1.52.0",
|
|
12
12
|
"Azure.Generator": "1.0.0-alpha.20260320.2",
|
|
@@ -694,7 +694,7 @@
|
|
|
694
694
|
}
|
|
695
695
|
},
|
|
696
696
|
"libraries": {
|
|
697
|
-
"Azure.Generator.Management/1.0.0-alpha.
|
|
697
|
+
"Azure.Generator.Management/1.0.0-alpha.20260331.1": {
|
|
698
698
|
"type": "project",
|
|
699
699
|
"serviceable": false,
|
|
700
700
|
"sha512": ""
|
|
Binary file
|
|
Binary file
|
|
@@ -814,6 +814,20 @@
|
|
|
814
814
|
<param name="resourceName">The PascalCase resource name.</param>
|
|
815
815
|
<returns>The collection method name.</returns>
|
|
816
816
|
</member>
|
|
817
|
+
<member name="M:Azure.Generator.Management.Visitors.FlattenPropertyVisitor.FixBackwardCompatOverloads(System.Collections.Generic.IReadOnlyList{Microsoft.TypeSpec.Generator.Providers.MethodProvider})">
|
|
818
|
+
<summary>
|
|
819
|
+
Fixes backward-compat overload methods that call primary model factory methods.
|
|
820
|
+
After flattening reorders the primary method's parameters, the positional arguments
|
|
821
|
+
in these overloads may be in the wrong order. This method rebuilds the argument list
|
|
822
|
+
to match the primary method's current parameter order.
|
|
823
|
+
</summary>
|
|
824
|
+
</member>
|
|
825
|
+
<member name="M:Azure.Generator.Management.Visitors.FlattenPropertyVisitor.IsBackwardCompatMethod(Microsoft.TypeSpec.Generator.Providers.MethodProvider)">
|
|
826
|
+
<summary>
|
|
827
|
+
Checks if a method is a backward-compatibility overload by looking for the
|
|
828
|
+
[EditorBrowsable(EditorBrowsableState.Never)] attribute on its signature.
|
|
829
|
+
</summary>
|
|
830
|
+
</member>
|
|
817
831
|
<member name="M:Azure.Generator.Management.Visitors.FlattenPropertyVisitor.TryGetFlattenedModelType(Microsoft.TypeSpec.Generator.Primitives.CSharpType,System.Collections.Generic.Dictionary{System.String,System.Collections.Generic.List{Azure.Generator.Management.Visitors.FlattenPropertyVisitor.FlattenPropertyInfo}}@)">
|
|
818
832
|
<summary>
|
|
819
833
|
Looks up the flattened model type map for the given type, also checking base types
|
|
@@ -840,6 +854,22 @@
|
|
|
840
854
|
<param name="targetInternalProperty">The internal property to look for in the chain</param>
|
|
841
855
|
<returns>True if the internal property is in the flattening chain</returns>
|
|
842
856
|
</member>
|
|
857
|
+
<member name="M:Azure.Generator.Management.Visitors.InheritableSystemObjectModelVisitor.FixSerializationReturnTypes(Microsoft.TypeSpec.Generator.Providers.ModelProvider)">
|
|
858
|
+
<summary>
|
|
859
|
+
Fixes the return type of serialization override methods (PersistableModelCreateCore,
|
|
860
|
+
JsonModelCreateCore) to use the system base type (e.g., ResourceData) instead of the
|
|
861
|
+
immediate parent type. Without this, the framework generates overrides with
|
|
862
|
+
model.Type.BaseType as the return type, which can produce a covariant return type
|
|
863
|
+
(e.g., returning CustomPatchBase instead of ResourceData). Covariant returns are not
|
|
864
|
+
supported on .NET Framework.
|
|
865
|
+
</summary>
|
|
866
|
+
</member>
|
|
867
|
+
<member name="M:Azure.Generator.Management.Visitors.InheritableSystemObjectModelVisitor.FindSystemBaseType(Microsoft.TypeSpec.Generator.Providers.ModelProvider)">
|
|
868
|
+
<summary>
|
|
869
|
+
Walks up the model hierarchy to find the system base type (e.g., ResourceData)
|
|
870
|
+
that the virtual serialization methods use as their return type.
|
|
871
|
+
</summary>
|
|
872
|
+
</member>
|
|
843
873
|
<member name="M:Azure.Generator.Management.Visitors.InheritableSystemObjectModelVisitor.RemoveDuplicatePropertiesAndStripVirtual(Microsoft.TypeSpec.Generator.Providers.ModelProvider,Microsoft.TypeSpec.Generator.Providers.ModelProvider,System.Collections.Generic.HashSet{System.String})">
|
|
844
874
|
<summary>
|
|
845
875
|
Removes properties with 'new' modifier or matching base property names from the model,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure-typespec/http-client-csharp-mgmt",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.20260331.1",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec library for emitting Azure management libraries for C#.",
|
|
6
6
|
"readme": "https://github.com/Azure/azure-sdk-for-net/blob/main/eng/packages/http-client-csharp-mgmt/README.md",
|