@azure-typespec/http-client-csharp-mgmt 1.0.0-alpha.20260423.2 → 1.0.0-alpha.20260424.2

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.
@@ -6,7 +6,7 @@
6
6
  "compilationOptions": {},
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v10.0": {
9
- "Azure.Generator.Management/1.0.0-alpha.20260423.2": {
9
+ "Azure.Generator.Management/1.0.0-alpha.20260424.2": {
10
10
  "dependencies": {
11
11
  "Azure.Core": "1.53.0",
12
12
  "Azure.Generator": "1.0.0-alpha.20260415.3",
@@ -729,7 +729,7 @@
729
729
  }
730
730
  },
731
731
  "libraries": {
732
- "Azure.Generator.Management/1.0.0-alpha.20260423.2": {
732
+ "Azure.Generator.Management/1.0.0-alpha.20260424.2": {
733
733
  "type": "project",
734
734
  "serviceable": false,
735
735
  "sha512": ""
@@ -687,6 +687,17 @@
687
687
  The property that this property is directed to.
688
688
  </summary>
689
689
  </member>
690
+ <member name="P:Azure.Generator.Management.Primitives.FlattenedPropertyProvider.IsLiftedToNullable">
691
+ <summary>
692
+ True when this flattened property's type was lifted to nullable because the
693
+ wrapping parent (the internalized property, e.g. <c>properties?:</c>) may be
694
+ absent at runtime. Applies to both value types (<c>Nullable&lt;T&gt;</c>) and
695
+ reference types (nullable annotation). The public property surface is
696
+ nullable, but the public constructor parameter is kept as the original
697
+ inner type to enforce that required leaves are provided. The model factory
698
+ parameter, however, is nullable (callers may omit it when mocking).
699
+ </summary>
700
+ </member>
690
701
  <member name="M:Azure.Generator.Management.Providers.Abstraction.ManagementHttpPipelineProvider.FromExpression(Microsoft.TypeSpec.Generator.Expressions.ValueExpression)">
691
702
  <inheritdoc/>
692
703
  </member>
@@ -1001,6 +1012,17 @@
1001
1012
  parameterless, the serialization constructor becomes a duplicate and must be removed.
1002
1013
  </summary>
1003
1014
  </member>
1015
+ <member name="M:Azure.Generator.Management.Visitors.FlattenPropertyVisitor.ShouldLiftToNullable(Microsoft.TypeSpec.Generator.Providers.PropertyProvider)">
1016
+ <summary>
1017
+ Returns true when the flattened public property's type should be made
1018
+ <c>Nullable&lt;T&gt;</c> / <c>T?</c>. The decision is driven solely by whether
1019
+ the wrapping parent (the internalized property, e.g. <c>properties?:</c>) may be
1020
+ absent at runtime. When the wrapper is required, the flattened property keeps
1021
+ the inner property's original type. When the wrapper is optional, the flattened
1022
+ property is effectively optional too and must surface that absence to callers.
1023
+ Applies to both value types and reference types.
1024
+ </summary>
1025
+ </member>
1004
1026
  <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}}@)">
1005
1027
  <summary>
1006
1028
  Looks up the flattened model type map for the given type, also checking base types
@@ -6,7 +6,7 @@
6
6
  "compilationOptions": {},
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v10.0": {
9
- "Azure.Generator.Management/1.0.0-alpha.20260423.2": {
9
+ "Azure.Generator.Management/1.0.0-alpha.20260424.2": {
10
10
  "dependencies": {
11
11
  "Azure.Core": "1.53.0",
12
12
  "Azure.Generator": "1.0.0-alpha.20260415.3",
@@ -729,7 +729,7 @@
729
729
  }
730
730
  },
731
731
  "libraries": {
732
- "Azure.Generator.Management/1.0.0-alpha.20260423.2": {
732
+ "Azure.Generator.Management/1.0.0-alpha.20260424.2": {
733
733
  "type": "project",
734
734
  "serviceable": false,
735
735
  "sha512": ""
@@ -687,6 +687,17 @@
687
687
  The property that this property is directed to.
688
688
  </summary>
689
689
  </member>
690
+ <member name="P:Azure.Generator.Management.Primitives.FlattenedPropertyProvider.IsLiftedToNullable">
691
+ <summary>
692
+ True when this flattened property's type was lifted to nullable because the
693
+ wrapping parent (the internalized property, e.g. <c>properties?:</c>) may be
694
+ absent at runtime. Applies to both value types (<c>Nullable&lt;T&gt;</c>) and
695
+ reference types (nullable annotation). The public property surface is
696
+ nullable, but the public constructor parameter is kept as the original
697
+ inner type to enforce that required leaves are provided. The model factory
698
+ parameter, however, is nullable (callers may omit it when mocking).
699
+ </summary>
700
+ </member>
690
701
  <member name="M:Azure.Generator.Management.Providers.Abstraction.ManagementHttpPipelineProvider.FromExpression(Microsoft.TypeSpec.Generator.Expressions.ValueExpression)">
691
702
  <inheritdoc/>
692
703
  </member>
@@ -1001,6 +1012,17 @@
1001
1012
  parameterless, the serialization constructor becomes a duplicate and must be removed.
1002
1013
  </summary>
1003
1014
  </member>
1015
+ <member name="M:Azure.Generator.Management.Visitors.FlattenPropertyVisitor.ShouldLiftToNullable(Microsoft.TypeSpec.Generator.Providers.PropertyProvider)">
1016
+ <summary>
1017
+ Returns true when the flattened public property's type should be made
1018
+ <c>Nullable&lt;T&gt;</c> / <c>T?</c>. The decision is driven solely by whether
1019
+ the wrapping parent (the internalized property, e.g. <c>properties?:</c>) may be
1020
+ absent at runtime. When the wrapper is required, the flattened property keeps
1021
+ the inner property's original type. When the wrapper is optional, the flattened
1022
+ property is effectively optional too and must surface that absence to callers.
1023
+ Applies to both value types and reference types.
1024
+ </summary>
1025
+ </member>
1004
1026
  <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}}@)">
1005
1027
  <summary>
1006
1028
  Looks up the flattened model type map for the given type, also checking base types
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.20260423.2",
3
+ "version": "1.0.0-alpha.20260424.2",
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",