NET 6 – Nullability of reference types warning
In NET 6, I have a repository asynchronously returns string, which may be sourced from REST API or text file. Since the result could be null, the return type is nullable string in a task Task<string?>: public interface IFooRepository { Task<string?> FetchAsync(string path); } One of a concrete class of the repository would look like:… Read More NET 6 – Nullability of reference types warning