Skip to content

Would love to see this converted to use Nullable Reference Types #4

@StevenTCramer

Description

@StevenTCramer

I am using nullable reference types on a Pulumi IaC project where I use the builder pattern. But find it difficult to get dotnet to figure out when items are not null.

The Builder Pattern is a delayed constructor.
The things it is supposed to build will be null until the Build() method has been executed.
But after Build they won't be null.

I try to help by using MemberNotNull attributes but that seems to just kick the can down the road only level.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions