Skip to content

V4 Initial Feedback #3784

Closed
Closed
@niemyjski

Description

@niemyjski

Describe the bug

I'd consider this a bug and hopefully addressed quickly. It's against the .NET Framework guidelines to return null for collections. There was a ton of breaking tests for my project because I'm not yet targeting NRT (netstandard 2.0).

https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/guidelines-for-collections

❌ DO NOT return null values from collection properties or from methods returning collections. Return an empty collection or an empty array instead.

Also I noticed that there was very little docs on migration to STJ. I converted it fine, but considering I'm messing with ReDrive Headers it would be nice if there were strongly typed models for this.

Regression Issue

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

Expected Behavior

Be Idiomatic to the platform you are targeting.

Current Behavior

3.7 works as expected.

Reproduction Steps

upgrade to 4, watch your app break majorly. This wasn't even in the 4.0 release notes.

Possible Solution

No response

Additional Information/Context

No response

AWS .NET SDK and/or Package version used

4.0.0

Targeted .NET Platform

netstandard 2.0

Operating System and version

macos

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.response-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 7 days.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions