Skip to content

Nullables feature request #1682

@DomenPigeon

Description

@DomenPigeon

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions