Skip to content

If V4 goes for nullable properties - mark them with ? nullable ref type syntax to clearly indicate thisΒ #3869

@alex-jitbit

Description

@alex-jitbit

Describe the bug

For example ListObjectsResponse.S3Objects can be null if no objects are found.

Should be marked with ? - indicating nullable reference type.

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

ListObjectsResponse.S3Objects should be declared like this

public List<S3Object>? S3Objects //like this

Current Behavior

Currently it's not using nullable reference type. So no warnings from the compiler

Reproduction Steps

n/a

Possible Solution

No response

Additional Information/Context

No response

AWS .NET SDK and/or Package version used

AWSSDK.S3 4.0.1

Targeted .NET Platform

.NET 8

Operating System and version

all

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.module/sdk-corep2This is a standard priority issuepr/needs-reviewThis PR needs a review from a Member.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions