csharp icon indicating copy to clipboard operation
csharp copied to clipboard

Nullables feature request

Open DomenPigeon opened this issue 1 month ago • 2 comments

Could the library start using nullables in the source code? Otherwise its really hard to know what is initialized and what not or you need to check everything.

For example:

var container = new V1Container();
container.VolumeMounts.Add(new V1VolumeMount());

produces: Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.

DomenPigeon avatar Nov 10 '25 15:11 DomenPigeon