Skip to content

Add option to have nullable reference types but return non-nullable from stored procedures #3167

@omccully

Description

@omccully

What problem are you trying to solve?

With the nullable support, all of my stored procedures return Task<List?>. This may be technically correct, but in reality, my team will find this annoying to have to suppress the null warning for all return values from stored procedures. The vast majority of the time it will not be helpful.

Describe the solution you'd like

It would be great to have an option to make the stored procedures return non-nullable types but still have the other nullable support.

Thank you

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions