You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The nullability of ExternalId and Codename on Reference.cs is shown as not null in the Visual Studio IDE, it would be great to decorate these two properties (see below) with the nullability operator like on Id.
If I create a Reference instance with one of the provided factory methods (e.g. ByCodename, ByExternalId) the nullability of the remaining properties is not clear. In the sample below ExternalId is null although it's not documented as such.
Description
The nullability of ExternalId and Codename on Reference.cs is shown as not null in the Visual Studio IDE, it would be great to decorate these two properties (see below) with the nullability operator like on Id.
management-sdk-net/Kontent.Ai.Management/Models/Shared/Reference.cs
Line 24 in 5ab22f2
management-sdk-net/Kontent.Ai.Management/Models/Shared/Reference.cs
Line 30 in 5ab22f2
If I create a Reference instance with one of the provided factory methods (e.g. ByCodename, ByExternalId) the nullability of the remaining properties is not clear. In the sample below ExternalId is null although it's not documented as such.
Possibly long term it would be cool to enable nullable reference types (https://devblogs.microsoft.com/dotnet/try-out-nullable-reference-types/) to help make working with the Management SDK safer 😃
Many thanks!
The text was updated successfully, but these errors were encountered: