msgraph-sdk-dotnet icon indicating copy to clipboard operation
msgraph-sdk-dotnet copied to clipboard

Why is Microsoft.Graph.Models.AssignedLicense.DisabledPlans a List<Guid?>

Open ssteiner opened this issue 1 year ago • 0 comments

We're in the process of migrating from the v4 to the v5 nuget. In adapting the code, I found that in the class Microsoft.Graph.Models.AssignedLicense the property DisabledPlans is not a List<Guid?> What's the reason for this? IMHO, either a plan is disabled, so it's Guid would be present in DisabledPlans, or a plan is not disabled, hence no reason for it to appear in DisabledPlans. When would there be a null value in DisabledPlans? If there's never a null, I'd argue the property should be declared as List<Guid>.

ssteiner avatar Jun 20 '23 10:06 ssteiner