Skip to content

Implementing AnyAsync #181

@gabrielheming

Description

@gabrielheming

Following a bit the issue #175. Can the method Task<bool> AnyAsync be implemented?

public interface IReadRepositoryBase<T> where T : class
{
    Task<bool> AnyAsync(ISpecification<T> specification, CancellationToken cancellationToken = default);
    Task<bool> AnyAsync(CancellationToken cancellationToken = default);
}

I think it is a "non-harmful" implementation and it does not seem to break any previous implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions