Skip to content

Check parameters for nullable types in EF.Functions extensions #26634

@joakimriedel

Description

@joakimriedel

I'm currently spending this week annotating a large project to .NET 6.

In this process I have some code that calls EF.Functions.Like with a property that is now of type nullable string string?. This will produce a warning since this method is annotated to only accept non-nullable string.

See

string matchExpression,

I think it should be string? matchExpression ?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions