Skip to content

Review nullability of configuration properties setters #48207

@wilkinsona

Description

@wilkinsona

We have a pattern where properties that are initialised with a default value are not @Nullable and, therefore, the setter's parameter isn't @Nullable either. Where the property has no default value it is @Nullable and both the getter and setter are @Nullable. This means that whether a setter is @Nullable depends on whether or not the property has a default value. The two feel unrelated to me and I wonder if we want to be consistent in the nullability of configuration properties setters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    for: team-meetingAn issue we'd like to discuss as a team to make progresstype: taskA general task

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions