Skip to content

Conversation

@captainsafia
Copy link
Member

Closes #54020.

@ghost ghost added the area-minimal Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc label Mar 4, 2024
@captainsafia captainsafia requested a review from a team March 4, 2024 20:26
public async Task TestHandlingOfGenericWithNullableReferenceTypes()
{
var source = """
#nullable enable
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the only test that tests nullability in user code 😮
Kind of surprising.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BrennanConroy The other tests do use nullable annotations but they make use of the source template that is in the base class which enables it there:

@captainsafia captainsafia enabled auto-merge (squash) March 4, 2024 21:30
@captainsafia captainsafia merged commit 87cde80 into main Mar 4, 2024
@captainsafia captainsafia deleted the safia/fix-rdg-nullble branch March 4, 2024 21:59
@danroth27 danroth27 added this to the 9.0-preview3 milestone Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-minimal Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[9.0-preview.1] Request Delegate Generator emits nullable annotations when Nullable Reference Types not enabled

4 participants